DB2 Version 9.7 for Linux, UNIX, and Windows

How to find IBM Data Server Driver for JDBC and SQLJ version and environment information

To determine the version of the IBM® Data Server Driver for JDBC and SQLJ, as well as information about the environment in which the driver is running, run the DB2Jcc utility on the command line.

DB2Jcc syntax

Read syntax diagramSkip visual syntax diagram
>>-java--com.ibm.db2.jcc.DB2Jcc--+-----------+------------------>
                                 '- -version-'   

>--+-----------------+--+--------+-----------------------------><
   '- -configuration-'  '- -help-'   

DB2Jcc option descriptions

-version
Specifies that the IBM Data Server Driver for JDBC and SQLJ displays its name and version.
-configuration
Specifies that the IBM Data Server Driver for JDBC and SQLJ displays its name and version, and information about its environment, such as information about the Java™ runtime environment, operating system, path information, and license restrictions.
-help
Specifies that the DB2Jcc utility describes each of the options that it supports. If any other options are specified with -help, they are ignored.