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

查看:1920
本文介绍了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.

我后来发现我应该给出<$ c $的路径c> java.exe 在oracle文件夹中。

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

现在每次运行它都不会问我java.exe路径,但显示下一个错误:无法找到Java虚拟机

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路径在oracle文件夹中,但是如何更改我已经给出的路径?

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.

第2步:转到进入sqldeveloper文件夹(在SQL开发人员安装文件夹中)> 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 链接以供进一步参考。

use this link for further references.

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

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