My Oracle Support Banner

Checking JDBC Driver Version Fails With "java.lang.UnsupportedClassVersionError: Bad version number in .class file" (Doc ID 1674591.1)

Last updated on SEPTEMBER 14, 2018

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:



To view full details, 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 a vibrant support community of peers and Oracle experts.