Oracle 19c compatibility with jdk7

18,136

According to the Oracle JDBC FAQ (Question "What are the Oracle JDBC releases Vs JDK versions?"), only the Java versions you listed (Java 8 to 11) are supported for Oracle 19c.

  • I expect that support for later Java versions will be added in the future.
  • Java 9 and Java 10 were short-life releases, and are both end-of-life.

As a comment notes, Java 7 has been "end of life" since April 2015. It would be counter-productive for Oracle to encourage continued use of Java 7 by supporting it with new JDBC drivers for new Oracle database releases.

Note that the Oracle drivers are proprietary and source code is not available. So back-porting one of the Oracle 19c compatible drivers to Java 7 is not an option.

You may be able to identify a 3rd-party vendor who will provide (probably sell) you a driver that works. The best I could come up with is this old page that lists vendors:


In summary: If you want to use Oracle 19c with Oracle supported drivers, upgrading to Java 8 LTS or later is the only feasible solution. Upgrading to Java 11 LTS is advisable:

  • Oracle Java 8 LTS free public updates (for commercial users) have ended, and Premium Support is due to end in March 2022; see the Oracle Java SE Support Roadmap.

  • You can still get free public Java 8 LTS updates from 3rd-party vendors post 2020; see Java is Still Free for all of the details.

Share:
18,136

Related videos on Youtube

Elie Daher
Author by

Elie Daher

Updated on June 04, 2022

Comments

  • Elie Daher
    Elie Daher almost 2 years

    I would like to know if oracle 19c is compatible with jdk 7.

    I have found out 2 drivers for oracle 19c

    • ojdbc8 : for jdk8, jdk9 and jdk11
    • ojdbc10 : for jdk10 and jdk11

    I would like to know if there is a way to have oracle 19c with a jdk7, and if yes what is the driver that will allow to do it ?

    • Bob Jarvis - Слава Україні
      Bob Jarvis - Слава Україні about 4 years
      What errors do you get when you try this?
    • JonK
      JonK about 4 years
      Java 7 reached End of Life five years ago, I would be very surprised if Oracle have invested any time at all in building driver support for it.
    • Elie Daher
      Elie Daher about 4 years
      @BobJarvis-ReinstateMonica Caused by: java.lang.UnsupportedClassVersionError: oracle/jdbc/OracleDriver : Unsupported major.minor version 54.0 (unable to load class oracle.jdbc.OracleDriver)
    • vanje
      vanje about 4 years
      You can try to use the JDBC driver for Oracle 11.2.0.4 which is still available on the Oracle download page and can be used with Java 7.