Is there a way to install java on Oracle 11g XE?

℡╲_俬逩灬. 提交于 2019-11-28 10:17:39

No, Java support is not available in Oracle Database 11g Express Edition, and since the database itself does not have Java support, there is no way to extend it by installing Java yourself.

And if you have the full licensed version of Oracle, and need to install the JVM in Oracle, you can invoke as sysdba:

 @?/javavm/install/initjvm.sql

and you may also need to run

 @?/rdbms/admin/catjava.sql

The website https://itkbs.wordpress.com/2014/02/15/how-to-install-java-in-oracle-database-ora-29538/ taught me the first part; I still had errors with a Java class schedFileWatcherJava not found, which the second script fixed.

You can verify if Java is installed with this query from that website:

select comp_name, version, status from dba_registry;

which will list JServer JAVA Virtual Machine as part of the results if Java is installed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!