1. Environment
Win7 x64,oracle 11g r2,jdk6 x64
2. Questions
The first time you start Oracle SQL Developer will let us fill in the path of Java.exe, I found in the JDK installation directory of the bin Java.exe, but fill in the following error:
3. Causes
The Oracle SQL Developer installed in Oracle 11g is 32-bit, and the java.exe we are assigning to him now is 64 bits, so this error can occur
4. Workaround
1) Download Oracle SQL Developer x64 from the web and replace the original directory: D:\app\oracle\product\11.1.0\db_1\sqldeveloper 32-bit Oracle SQL Developer. This will restart the Oracle SQL Developer and make the Java.exe path.
: http://www.softonic.cn/s/oracle-sql-developer-64
2) Install JDK6 x86, which is 32-bit JDK, although our system is 64-bit, but also compatible with 32-bit JDK.
Both of these methods have been tried and can be run normally.
Using Oracle SQL Developer Error: Unable to find a Java Virtual machine (reprint)