Can Oracle Express run with a different runtime or jdk other than the value set by JAVA_HOME

本秂侑毒 提交于 2020-03-04 16:37:10

问题


I've installed Oracle XE.

When I ran sqldeveloper.exe against it, sqldeveloper.exe ran "slow" against my local XE database AND remote Oracle database engines.

I found this answer:

sqldeveloper taking too long to load the content of a DB

After I made that fix, sqldeveloper.exe ran pretty dern good against the REMOTE oracle database engine.

However, running it against the local XE, it still runs poorly.

My machine environment variable to set to a Zulu install and cannot be changed (company policy)

JAVA_HOME=C:\Program Files\Zulu\zulu-8

So my question is.. can I alter which JDK oracle.exe runs with?

Here is my version:

c:\mycustomfolder\oracle\product\18.0.0\dbhomexe\bin\ORACLE.EXE XE

I found this .conf file

C:\mycustomfolder\Oracle\product\18.0.0\dbhomeXE\schagent.conf

but don't see any place to override the JDK runner, like I found for sqldeveloper.exe.


回答1:


The database ships its own JDK to use - you should NOT change that...now, generally, running queries against the XE database will NOT invoke any Java code in the db. If running SQL Developer against the XE on your machine is slow, try increasing the amount of memory for the XE database itself (SGA).



来源:https://stackoverflow.com/questions/60067331/can-oracle-express-run-with-a-different-runtime-or-jdk-other-than-the-value-set

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