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 11.1.0.6 and later
Information in this document applies to any platform.

Symptoms

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

 

Cause

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