Technical Blog Post
Abstract
How to find the CDJAI version number
Body
IBM Sterling Connect:Direct Application Interface for Java
*How to determine the version you are running*
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
[{"Type":"SW","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"},{"code":"a8m0z0000001jHjAAI","label":"PRODUCT DOCUMENTATION"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]
UID
ibm11124025