Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Developer with JDK (64 bit) cannot find JVM

I just wasted one morning trying to get SQL developer to work on my current setup:

  • OS: Windows 8.1 virtual machine running on mac via Parallels.
  • No oracle client or instant client installed
  • No Java installed

The reproducible steps are

  • I downloaded SQL Developer for Windows with JDK (all 64-bit) and unzipped it to C:/Program Files/.
  • I double clicked on C:/Program Files/sqldeveloper/sqldeveloper.exe

I get the following message:

Unable to launch the Java Virtual Machine
Located at path:
C:/Program Files/sqldeveloper/jdk/jre/bin/server/jvm.dll

Can someone please help me? I also tried first installing Java 1.8 (64 bit) and then the SQL developer version without Java. This doesn't work either. When I select the location of the JDK home, it also sent one error message saying that it couldn't find any JVMs where I said. To add insult to injury, every time I follow this procedure, the Panda antivirus tells me that sqldeveloper is infected, deletes the file and encourages me to restart.

Can someone please help me? I would mostly appreciate.

Thank you very much in advance

like image 677
edd Avatar asked Jul 02 '15 09:07

edd


People also ask

How do I install JDK in SQL Developer?

SQL Developer requires that JDK 7 or later be installed on the system, and Oracle recommends that you install the latest available JDK version. If you need to install a JDK, go to http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html .


1 Answers

I had the same problem and solved it by copying the MSVCR100.dll file from sqldeveloper\jdk\jre\bin to the sqldeveloper\sqldeveloper\bin folder.

Credit goes to Erik Anderson from SQL Developer failed to start


Note that different versions of SQL Developer need different versions of MSVCR*.dll. Various comments below have offered which versions worked for them.

like image 52
y.Doe Avatar answered Sep 19 '22 04:09

y.Doe