Finding the Oracle JDBC version using the command line

7,702

Oracle documents this in Verifying a JDBC Client Installation with a sample function written in Java:

If at any time you must determine the version of the JDBC driver that you installed, you can invoke the getDriverVersion() method of the OracleDatabaseMetaData class.

Further reading:

Share:
7,702

Related videos on Youtube

Mchoeti
Author by

Mchoeti

Updated on September 18, 2022

Comments

  • Mchoeti
    Mchoeti almost 2 years

    I want to check out the Version of my Oracle JDBC driver. In this case, I know the driver is 12.1.0.2:

    /u01/app/oracle/product/12.1.0.2/dbhome_1/bin/oracle
    

    But without that I am searching for a valid command which will give me the version back on the console. I am using CentOS 7. Should I search for the Manifest.MF file or do you have other ideas?