White Papers
Abstract
How to determine the version you are running
Content
To find the CDJAI version number, you can run the following command in the directory where the CDJAI.jar resides:
java -cp CDJAI.jar com.sterlingcommerce.cd.sdk.Version
This assumes that you have java in your path. If you don't, you'll have to either define JAVA_HOME or provide a complete path to the Java JRE (e.g. C:\java1.7\bin\java.exe -cp CDJAI.jar Version).
The results should look like this:
C:\cdjai\lib>java -cp CDJAI.jar com.sterlingcommerce.cd.sdk.Version
Application Interface for Java 1.1.00 Fix 000013 General Availability Build May
20 2015 14:27
java -cp CDJAI.jar com.sterlingcommerce.cd.sdk.Version
This assumes that you have java in your path. If you don't, you'll have to either define JAVA_HOME or provide a complete path to the Java JRE (e.g. C:\java1.7\bin\java.exe -cp CDJAI.jar Version).
The results should look like this:
C:\cdjai\lib>java -cp CDJAI.jar com.sterlingcommerce.cd.sdk.Version
Application Interface for Java 1.1.00 Fix 000013 General Availability Build May
20 2015 14:27
[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3J7U","label":"IBM Sterling Connect:Direct Application Interface for Java"},"ARM Category":[{"code":"a8m0z000000cwUkAAI","label":"ENVIRONMENT"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
13 October 2021
UID
swg27045978