无法找到Java虚拟机的SQL Developer错误[duplicate]

时间:2022-06-21 23:08:23

This question already has an answer here:

这个问题已经有了答案:

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在甲骨文文件夹。

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路径,但显示了下一个错误:无法找到Java虚拟机。

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路径,但是如何改变我已经给出的路径呢?

1 个解决方案

#1


18  

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

步骤2:进入sqldeveloper文件夹(在SQL developer安装文件夹内)>bin。

step3: just edit the sqldeveloper.conf .

步骤3:编辑sqldeveloper。相依。

   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 link for further references.

使用此链接进行进一步的引用。

#1


18  

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

步骤2:进入sqldeveloper文件夹(在SQL developer安装文件夹内)>bin。

step3: just edit the sqldeveloper.conf .

步骤3:编辑sqldeveloper。相依。

   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 link for further references.

使用此链接进行进一步的引用。