SQL Developer 错误无法找到 Java 虚拟机
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24008395/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
SQL Developer error Unable to find Java Virtual Machine
提问by Maven
After installing Oracle 11g
client, when I tried to run SQL Developer
it's asked me to give it java.exe
path. As I didn't know I gave it the wrong path to program files java installation.
安装Oracle 11g
客户端后,当我尝试运行时,SQL Developer
它要求我提供java.exe
路径。因为我不知道我给了它错误的程序文件 java 安装路径。
Which I later found out that I should have given the path to java.exe
inside oracle folder.
后来我发现我应该给出java.exe
oracle 文件夹内部的路径。
Now every time I run it doesn't ask me for java.exe path, but shows the next error: Unable to find Java Virtual Machine
.
现在每次我运行它都不会问我 java.exe 路径,而是显示下一个错误:Unable to find Java Virtual Machine
.
I think to correct this I need to give Java path to it in oracle folder, but how to change the path that I have already given?
我认为要纠正这个问题,我需要在 oracle 文件夹中为其提供 Java 路径,但是如何更改我已经提供的路径?
采纳答案by Geek
I faced a similar issue and i fixed it by following steps:
我遇到了类似的问题,并通过以下步骤修复了它:
step1: Go to where your SQL Developer is installed.
步骤 1:转到安装 SQL Developer 的位置。
step2: Go into the sqldeveloper folder (inside SQL developer installation folder) >bin
step2:进入sqldeveloper文件夹(SQL developer安装文件夹内)>bin
step3: just edit the sqldeveloper.conf .
第三步:只需编辑 sqldeveloper.conf 。
You will see line called “SetJavaHome”, that's where we need to fix.
Remove that line, then try starting the SQL Developer again:
use this linkfor further references.
使用此链接进一步参考。