Oracle SQL Developer 打开无法使用的问题

来源:互联网 发布:盐城软件开发培训 编辑:程序博客网 时间:2024/05/29 03:36

使用PL/SQL Developer时,会提示缺少快捷方式,

然后选择sqldeveloper.exe代替.bat文件后

会提示让选择JDK中的java.exe,然后根据自己的JDK安装路径选择bin文件夹下的java.exe;

然而会提示错误:

Oracle SQL Developer: Unable to find a JVM

根据Stackflow上一篇文章,找到了相关解决方案:

Oracle SQL developer is NOT support on 64 bits JDK. To solve it, install a 32 bits / x86 JDK and update your SQL developer config file, so that it points to the 32 bits JDK.

Fix it! Edit the “sqldeveloper.conf“, which can be found under “{ORACLE_HOME}\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf“, make sure “SetJavaHome” is point to your 32 bits JDK.

Update:Based on @FGreg answer below, in the Sql Developer version 4.XXX you can do it in user-specific config file:

  • Go to Properties -> Help -> About
  • Add / Change SetJavaHome to your path (for example - C:\Program Files (x86)\Java\jdk1.7.0_03) - this will override the setting in sqldeveloper.conf
原文地址:http://stackoverflow.com/questions/15929967/oracle-sql-developer-unable-to-find-a-jvm

原来是SQL Developer不支持64位的JDK,需要安装32位JDK才可以!

或者是更新SQL Developer 4.0版本以上,

于是我选择了第二种方案,在网上找到sqldeveloper-4.0.2.15.21-x64.rar安装,然后再次选择相关路径即可使用了!

0 0
原创粉丝点击