My Oracle Support Banner

SAP Fails with java.sql.SQLException: Unsupported Oracle JDBC driver version When Using JDBC 12c to Avoid ORA-28040 (Doc ID 2243782.1)

Last updated on JANUARY 18, 2023

Applies to:

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


 After Oracle Client update to, SAP java related scripts like fail with the following error:

When starting script, it was originally calling the JDBC driver location as "/oracle/client/12x/instantclient/ojdbc14.jar". After upgrading the database to 12c, the driver was changed to ojdbc6.jar to overcome the issue on <Document: 2111118.1> ORA-28040 Using JDBC Connection to 12c Database. However, the error message "Unsupported Oracle JDBC driver version" is received.

The issue can be reproduced at will with the following steps:
1. Upgrade JDBC from ojdbc14.jar 11.2 to ojdbc6.jar
2. Try to invoke


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

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