Skip to end of metadata
Go to start of metadata
Linux

In a terminal window execute command

java -classpath <path to sapjco3.jar>/sapjco3.jar -Djava.library.path=<path to sapjco3 JNI library>  com.sap.conn.jco.rt.About -stdout

Example with library path:

Linux terminal
[root@testbox]# java -classpath /opt/sapbc48/server/packages/SAP/code/jars/static/sapjco3.jar -Djava.library.path=/opt/sapbc48/server/packages/SAP/code/libs  com.sap.conn.jco.rt.About -stdout
--------------------------------------------------------------------------------------
|                                 SAP Java Connector                                 |
|                Copyright (c) 2000-2018 SAP SE. All rights reserved.                |
|                                Version Information                                 |
--------------------------------------------------------------------------------------
Java Runtime:
 Operating System:    Linux 3.10.0-1062.12.1.el7.x86_64 for amd64
 Java VM:             1.8.0_242 Oracle Corporation
 Default charset:     UTF-8
Versions:
 JCo API:             3.0.19 (2018-12-03)
 JCo middleware:      JavaRfc 2.2.23
 JCo library:         721.1120
Library Paths:
 JCo archive:         /opt/sapbc48/server/packages/SAP/code/jars/static/sapjco3.jar
 JCo library:         /opt/sapbc48/server/packages/SAP/code/libs/libsapjco3.so
--------------------------------------------------------------------------------------
|                                      Manifest                                      |
--------------------------------------------------------------------------------------
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.4
Implementation-Title: com.sap.conn.jco
Implementation-Version: 20181211 0621 [3.0.19 (2018-12-03)]
Specification-Vendor: SAP SE, Walldorf
Specification-Title: SAP Java Connector v3
Implementation-Vendor-Id: com.sap
Created-By: 5.1.028 (SAP AG)
Specification-Version: 3.0.19
Implementation-Vendor: SAP SE, Walldorf
Main-Class: com.sap.conn.jco.rt.About
...


Windows

From Windows command line prompt execute command:

java -classpath <path to sapjco3.jar>/sapjco3.jar -Djava.library.path=<path to sapjco3 JNI library>  com.sap.conn.jco.rt.About -stdout

Example without library path:

Windows command prompt
C:\Connectors\jco.3.0\sapjco30P_20-10005326\sapjco3-NTAMD64-3.0.20>java -classpath ./sapjco3.jar com.sap.conn.jco.rt.About -stdout
--------------------------------------------------------------------------------------
|                                 SAP Java Connector                                 |
|                Copyright (c) 2000-2019 SAP SE. All rights reserved.                |
|                                Version Information                                 |
--------------------------------------------------------------------------------------
Java Runtime:
 Operating System:    Windows 10 10.0 for amd64
 Java VM:             1.8.0_241 Oracle Corporation
 Default charset:     windows-1250
Versions:
 JCo API:             3.0.20 (2019-09-05)
 JCo middleware:      JavaRfc 2.2.25
 JCo library:         721.1311
Library Paths:
 JCo archive:         C:\Connectors\jco.3.0\sapjco30P_20-10005326\sapjco3-NTAMD64-3.0.20\sapjco3.jar
 JCo library:         C:\Connectors\jco.3.0\sapjco30P_20-10005326\sapjco3-NTAMD64-3.0.20\sapjco3.dll
--------------------------------------------------------------------------------------
|                                      Manifest                                      |
--------------------------------------------------------------------------------------
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.4
Implementation-Title: com.sap.conn.jco
Implementation-Version: 20190906 0631 [3.0.20 (2019-09-05)]
Specification-Vendor: SAP SE, Walldorf
Specification-Title: SAP Java Connector v3
Implementation-Vendor-Id: com.sap
Created-By: 5.1.028 (SAP AG)
Specification-Version: 3.0.20
Implementation-Vendor: SAP SE, Walldorf
Main-Class: com.sap.conn.jco.rt.About
...


  • No labels