我可以在Oracle数据库的默认JDK 1.3之上安装JDK 1.6吗? [英] Can I install JDK 1.6 over the default JDK 1.3 of Oracle database?

查看:244
本文介绍了我可以在Oracle数据库的默认JDK 1.3之上安装JDK 1.6吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Oracle 9i带有JDK 1.3.我想使用JDK 1.4+中引入的一些类.因此,可以在C:\ oracle \ oraclehome \ jdk文件夹中复制最新的JDK(1.6).谢谢.

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

我应该补充一点,我想在Java存储过程中使用一些JDK 1.4+库类.如果我不能更改内部JVM,则可以在哪里放置jar文件,以便JVM知道在哪里解析我的引用?还是必须将loadjava用于这些新类?

I should 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 place the jar files so that the JVM knows where to resolve my references? Or do I have to use loadjava for these new classes?

推荐答案

您无法更改数据库内部运行的JVM版本(即,将用于Java存储过程的JVM版本).

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

您在文件系统C:\ oracle \ oraclehome \ jdk上看到的JDK版本与内部JVM的版本不同.您在文件系统上看到的JDK只是在运行Oracle附带的各种基于Java的外部GUI(从Oracle Universal Installer开始,包括诸如Database Configuration Assistant(DBCA)之类的东西).尽管可以从技术角度覆盖该安装,但是它不会影响用于Java存储过程的JVM.

The version of the JDK that you see on the file system at C:\oracle\oraclehome\jdk is not the same as the version of the internal JVM. The JDK you see on the file system is there just to run the various Java based external GUIs that come with Oracle (beginning with the Oracle Universal Installer and including things like the Database Configuration Assistant (DBCA)). Although you could from a technical standpoint overwrite that install, it wouldn't affect the JVM used for Java stored procedures.

这篇关于我可以在Oracle数据库的默认JDK 1.3之上安装JDK 1.6吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆