Oracle SqlDeveloper JDK路径 [英] Oracle SqlDeveloper JDK path
问题描述
我最近安装了sqldeveloper但是当我尝试启动它时,我得到了以下警告窗口。这导致sqldeveloper运行速度非常慢并且频繁挂起
I have recently installed sqldeveloper but i'm getting the below warning window when I try to launch it. This is causing the sqldeveloper to run very very slow and it hangs frequently
我已尝试按照上面的窗口中的建议编辑文件sqldeveloper.cong但不起作用
I have tried editing the file sqldeveloper.cong as suggested in the window above but does not work
原始
SetJavaHome ../../ jdk
SetJavaHome ../../jdk
更新1
SetJavaHome C:\Program Files\Java\jdk1.7.0_60\bin\\以及所有其他变体,但仍然获得上述警告窗口
SetJavaHome C:\Program Files\Java\jdk1.7.0_60\bin\ and all other variations but still getting the above warning window
更新2
SetJavaHome C:\程序文件(x86)\ Java \ jre7 \ bin以及所有其他变体
Update 2 SetJavaHome C:\Program Files (x86)\Java\jre7\bin and all other variations
请建议正确的方法
推荐答案
该消息似乎已过时。在版本4中,该设置存在于两个文件中,您需要在另一个文件中进行更改,即:
The message seems to be out of date. In version 4 that setting exists in two files, and you need to change it in the other one, which is:
%APPDATA%\sqldeveloper\1.0.0.0.0\product.conf
您可能需要扩展到您的实际 APPDATA
,这类似于 C:\ Users \cprasad \ AppData \ Rooaming
。在该文件中,您将看到 SetJavaHome
当前将被设置为Java 1.8位置的路径,因此请像在中那样进行更改sqldeveloper.conf
:
Which you might need to expand to your actual APPDATA
, which will be something like C:\Users\cprasad\AppData\Roaming
. In that file you will see the SetJavaHome
is currently going to be set to the path to your Java 1.8 location, so change that as you did in the sqldeveloper.conf
:
SetJavaHome C:\Program Files\Java\jdk1.7.0_60\bin\
如果settig是空白的(我认为在这两个文件中)那么它如果您愿意,应该在启动时提示您选择JDK位置。
If the settig is blank (in both files, I think) then it should prompt you to pick the JDK location when you launch it, if you prefer.
这篇关于Oracle SqlDeveloper JDK路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!