Unable to find a java Virtual Machine ---- Oracle SQL Developer

Foreword
recently just installed the Oracle database, the installation is successful, the use of Oracle SQL Developer problems when recording about ~ (version oracle 11g)

Problems and solutions
when you first open the Oracle SQL Developer, will pop up a window that allows select java.exe position, this time, if you choose oracle jdk that comes inside java.exe or choose to install 64 jdk inside java.exe, will be given

Pop-up error message is as follows:

Unable to find a java Virtual Machine

to point to a location of a java virtual machine,please refer to the oracle9i Jdeveloper Install guide(jdev\install.html)

Oracle had not noticed at the time of manufacture Oracle11g brought 64-bit version of SQL Developer 1.5.5.59.69 is version does not support 64-bit version of the JDK, JDK just 64 Oracle jdk own band and are filled with 64-bit . Since there is no chance of re-configuration, it is necessary to modify the configuration file. Specific solutions are as follows:

1, to install a 32-bit jdk

2, in the installation directory: find the configuration file sqldeveloper.conf "F \ app \ username \ product \ 11.2.0 \ dbhome_1 \ sqldeveloper0 \ sqldeveloper \ bin" in order to open the Notepad or WordPad.

3, modify the "SetJavaHome" entry for "SetJavaHome C: \ Program Files (x86) \ Java \ jdk1.8.0_144 \ bin", (C: \ Program Files (x86) \ Java \ jdk1.8.0_144 \ bin directory I 32 jdk location into your own 32-bit jdk location) to save and exit.

Restart SQL Developer, successful operation -

 
----------------
Disclaimer: This article is CSDN blogger "linlin6 'original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement. .
Original link: https: //blog.csdn.net/chen1995csdn/article/details/82765192

Guess you like

Origin www.cnblogs.com/renzmin/p/12081010.html