Finding the versions of DB2 JDBC Universal Driver and SQLJ
 Technote (troubleshooting)
 
Problem(Abstract)
How to find the version of DB2® JDBC Universal Driver and SQLJ?
 
Resolving the problem
The assumption is that the CLASSPATH environment variable is defined with all the required JAR files for DB2 JDBC™ Universal Driver (db2jcc.jar, db2jcc_license_cisuz.jar, db2jcc_license_cu.jar) and that JAVA_HOME is set for the JVM™.

There are two different commands you can use:

  • From the command prompt, type the following command:
    java com.ibm.db2.jcc.DB2Jcc -version

    A sample output looks like this:
    IBM DB2 JDBC Universal Driver Architecture 1.3.70

  • From the command prompt, type the following command:

    db2jcc -version

    Similarly, you can find the version of SQLJ (assuming sqlj.jar is included in the CLASSPATH environment variable)

    <code>
    C:\Documents and Settings\Administrator>db2jcc -version
    IBM DB2 JDBC Universal Driver Architecture 2.3.63

    C:\Documents and Settings\Administrator>sqlj -version
    IBM SQLJ 2.3.63
    </code>


 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java 2 Connectivity (J2C)
Operating system(s): Windows
Software version: 5.0.2.2
Software edition:
Reference #: 1141733
IBM Group: Software Group
Modified date: Oct 13, 2004