Checking JDBC Driver Version Fails With "java.lang.UnsupportedClassVersionError: Bad version number in .class file"

(Doc ID 1674591.1)

Last updated on MARCH 08, 2017

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


 Attempts to check the version of the Oracle JDBC driver via the Java command java -jar ojdbcX.jar -getversion fail with the following error:



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms