1. Environment
Win7 x64, Oracle 11g R2, jdk6 x64
2. Problem
When Oracle SQL statement is started for the first time, we will enter the java.exeexample. I found java.exe In the bind in the jdkinstallation directory, but the following error will be reported after entering the content:
3. Cause
The Oracle SQL statement installed in Oracle 11g is 32-bit, but the java. EXE we have specified is 64-bit, so this error occurs.
4. Solution
1) download Oracle SQL developer x64 from the Internet, and then replace the 32-bit Oracle SQL developer in the original directory: D: \ app \ oracle \ product \ 11.1.0 \ db_1 \ sqldeveloper. In this way, restart Oracle SQL developer and set the java.exe path.
2) install JDK 6 x86, that is, the 32-bit JDK. Although our system is 64-bit, it is also compatible with the 32-bit JDK.
Both methods have been tried and can run normally.