Can I install JDK 1.6 by default JDK 1.3 Oracle Database?

My Oracle 9i comes with JDK 1.3. I want to use some classes that were introduced in JDK 1.4+. Can I copy the latest version of JDK (1.6) to the folder C: \ oracle \ oraclehome \ jdk. Thank.

EDIT: I have to add that I want to use some JDK 1.4+ library classes in my Java stored procedures. If I cannot change the internal JVM, where can I put the jar files so that the JVM knows where to resolve my links? Or do I need to use loadjava for these new classes?

+5
source share
2 answers

You cannot change the version of the JVM that runs inside the database (i.e. the version of the JVM that will be used for Java stored procedures).

The version of the JDK that you see on the file system in C: \ oracle \ oraclehome \ jdk does not match the version of the internal JVM. The JDK that you see on the file system is just the launch of the various Java-based GUIs that come with Oracle (starting with the Oracle Universal Installer and including things like Database Configuration Assistant (DBCA)). Although you can technically overwrite this installation, it will not affect the JVM used for Java stored procedures.

+4
source

Remember that you can always install another JDK / JRE that does not interfere with the installed Oracle or internal.

4/5 JRE/JDK- , Java.

+1

All Articles