SQL Developer 错误无法找到 Java 虚拟机 [英] SQL Developer error Unable to find Java Virtual Machine

查看:33
本文介绍了SQL Developer 错误无法找到 Java 虚拟机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安装Oracle 11g 客户端后,当我尝试运行SQL Developer 时,它要求我提供java.exe 路径.因为我不知道我给了它错误的程序文件 java 安装路径.

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 文件夹中提供 java.exe 的路径.

Which I later found out that I should have given the path to java.exe inside oracle folder.

现在每次运行它都不会询问 java.exe 路径,而是显示下一个错误:Unable to find Java Virtual Machine.

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.

我认为要更正此问题,我需要在 oracle 文件夹中为其提供 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?

推荐答案

我遇到了类似的问题,我通过以下步骤修复了它:

I faced a similar issue and i fixed it by following steps:

步骤 1:转到安装 SQL Developer 的位置.

step1: Go to where your SQL Developer is installed.

step2:进入sqldeveloper文件夹(SQL developer安装文件夹内)>bin

step2: Go into the sqldeveloper folder (inside SQL developer installation folder) >bin

step3:只需编辑 sqldeveloper.conf .

step3: just edit the 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 link for further references.

这篇关于SQL Developer 错误无法找到 Java 虚拟机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆