IBM Support

Determining the Version of IBM Toolbox for Java

Troubleshooting


Problem

This document provides methods to determine what version of the IBM Toolbox for Java JAR file is being used.

Resolving The Problem

Use the following method to determine what version of IBM Toolbox for Java is contained in a jt400.jar file.

The toolbox JAR file includes a utility class named AboutToolbox that is used to determine the version of the JAR file. Running this utility produces output similar to the following:
 
IBM Toolbox for Java:
Open Source Software, JTOpen 10.6 codebase 5770-SS1 V7R4M0.00 built=20210311 @AE2
Supports JDBC version 3.0
Toolbox driver version 12.6
The next steps can be used to run this utility from an IBM i command prompt.

Step 1: Start the Qshell environment, and change directories to the location of the jt400.jar file. Run the following commands:
STRQSH
cd /QIBM/ProdData/HTTP/Public/jt400/lib     (adjust path as necessary)
Step 2: Run the following command to produce the utility output:
java -cp ./jt400.jar com.ibm.as400.util.AboutToolbox
The command produces output listing the version of the toolbox JAR file.
The same commands can be run from other operating systems, changing the path to the jt400.jar file.
NOTE: If the version of toolbox in use does not contain the AboutToolbox utility, it is too old, and an upgrade is required.

[{"Product":{"code":"SWG60","label":"IBM i"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Data Access","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Historical Number

24360129

Document Information

Modified date:
20 October 2022

UID

nas8N1017249