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 MARCH 27, 2023

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.