转自:http://www.mkyong.com/oracle/oracle-sql-developer-unable-to-find-java-virtual-machine/
Problem
Here’s my PC environment :
- Database : Oracle 11g
- OS Platform : Windows 7 Ultimate 64 bits
- JDK : 1.6 .0_24, 64 bits
While click on the Oracle SQL developer, it prompts me to key in the JDK folder. However, after i specified the JDK folder, it prompts me following error dialog box :
Unable to find Java Virtual Machine. To point to a location of a Java Virtual Machine....
see figure below :
![oracle-sql-developer-unable-find-jvm Oracle SQL developer unable to find jvm](https://i-blog.csdnimg.cn/blog_migrate/1ee9b14be4eea219dd9805fbd0d70aa3.png)
Solution
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.
For example, “SetJavaHome C:\Program Files (x86) \Java\jdk1.6.0_13“.
![oracle-sql-developer-unable-find-jvm-2 Update oracle sql developer conf](https://i-blog.csdnimg.cn/blog_migrate/1117140e3a2fee014737358a07e9b23a.png)