After installing the 64-bit version of ORACLE11GR2, discover the path to the configuration Java.exe when you start SQL Developer, and locate the path that is generated after Oracle comes with Java.exe "C:\app\ user name \product\11.2.0\dbhome_1 \JDK "But the error message pops up:
--------------------------
Unable to find a Java Virtual machine
To point-a location of a Java virtual machine,please refer to the Oracle9i Jdeveloper Install Guide (jdev\install.html)
--------------------------
Because there is no chance of reconfiguration, we have to install directory "C:\app\ username \product\11.2.0\dbhome_1\sqldeveloper0\sqldeveloper\bin" Locate the configuration file sqldeveloper.conf, and modify the "Setjavahome" entry to "Setjavahome C:\Program files\java\jdk1.6.0_21", which is another JDK that is installed separately, and the result is the same.
The JDK path "Setjavahome C:\Users\ username \appdata\local\genuitec\common\binary\" is configured as MyEclipse8.5. com.sun.java.jdk.win32.x86_1.6.0.013 ", all normal, is wondering when, to the network search, find" Http://forums.oracle.com/forums/thread.jspa? messageid=4449178 "was finally inspired to figure out what was going on.
Oracle in the manufacture of 64-bit version of the time did not pay attention to ORACLE11GR2 SQL Developer is 1.5.5.59.69 version, does not support the 64-bit version of the JDK, exactly 64 Oracle with the JDK and "C:\Program Files" The JDK in is 64-bit. If you install a separate JDK in the "C:\Program Files (x86)" In the description is 32-bit version, is available. Why MyEclipse's JDK is available, because MyEcipse8.5 does not have a 64-bit version (including the latest 8.6), so the JDK is of course the 32-bit version. Do you understand?
Take a look at the solution:
Now that you've decided to use the 64-bit version of ORACLE11GR2:
(1) Install a 32-bit version of the JDK can be directly configured;
(2) Upgrade SQL developer to 2.1, the original "C:\app\ user name \product\11.2.0\dbhome_1" under the deletion, download (http://download.oracle.com/otn/java/ Sqldeveloper/sqldeveloper64-2.1.1.64.45-no-jre.zip) come back directly and unzip to get a Sqldeveloper folder in the same location. At this point, you can configure the JDK under "C:\Program Files", and Oracle's own JDK is still not available because the 2.1 version of SQL Developer requires more than 1.6.0_04 jdk. The JDK version of ORACLE11GR2 comes with only 1.5.0_17.
It's not over yet, there's a little problem. The "SQL Developer" in the Start menu is a pointer to the C:\app\ user name \product\11.2.0\dbhome_1\sqldeveloper\sqldeveloper\bin \sqldeveloper.bat ", this can't start, maybe your machine can start, someone on the network said this problem, open this file a look, the content is:
Java-xmx640m-xms128m-xverify:none-doracle.ide.util.addinpolicyutils.override_flag=true-dsun.java2d.ddoffscreen =false-dwindows.shell.font.languages=-xx:maxpermsize=128m-dide.asserttracingdisabled=true- Doracle.ide.util.addinpolicyutils.override_flag=true-djava.util.logging.config.file=logging.conf-dsqldev.debug =false-dide.conf= "./sqldeveloper.conf"-dide.startingcwd= "."-classpath. /.. /ide/lib/ide-boot.jar Oracle.ide.boot.Launcher
The solution is: Change the front "-xmx640m" to "-xmx512m". But running this command, click on the "Yes" that allows the program to run, nothing happens, but running the bat file directly in Explorer pops up a DOS-like window with a lot of information displayed and a window pops up. This does not feel good to run, so continue to retrofit:
On the Start menu, on the SQL Developer, right-click on the attribute to select the C:\app\ user name in the target \product\11.2.0\dbhome_1\sqldeveloper\sqldeveloper\bin\ Sqldeveloper.bat "modified to" C:\app\ User name \product\11.2.0\dbhome_1\sqldeveloper\sqldeveloper\bin\sqldeveloperw.exe ".
As for the default run "Sqldeveloper.bat", there should be a reason, know that the principle can be supplemented by.
Now understand 2G memory running 64-bit version of Win7 after the memory is tight, alas, either add a 2G of memory, or use Oracle Database 10g Express Edition (Universal) on it, do development is completely possible, Dedicated server does not work, some restrictions.
Unable to start Sqldeveloper solution after installing 64-bit version ORACLE11GR2