Oracle SQL Developer unable to find Java Virtual Machine

Problem

Here’s my PC environment :

  1. Database : Oracle 11g
  2. OS Platform : Windows 7 Ultimate 64 bits
  3. JDK : 1.6 .0_24, 64 bits

When I click on the Oracle SQL developer, it prompts me to key in the JDK folder. However, after I specified the JDK folder, it prompts me following error dialog box :


Unable to find Java Virtual Machine. To point to a location of a Java Virtual Machine.... 

See figure below :

Oracle SQL developer unable to find jvm

Solution

The Oracle SQL developer is NOT supported on 64 bits JDK. To solve it, install a 32 bits / x86 JDK and update your SQL developer config file, so that it points to the 32 bits JDK.

Edit the “sqldeveloper.conf“, which can be found under “{ORACLE_HOME}\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf“, make sure “SetJavaHome” is pointing to your 32 bits JDK.

For example, “SetJavaHome C:\Program Files (x86) \Java\jdk1.6.0_13“.

Update oracle sql developer conf

About the Author

author image
mkyong
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter, or befriend him on Facebook or Google Plus. If you like my tutorials, consider make a donation to these charities.

Comments

Leave a Reply

avatar
newest oldest most voted
Taposh Dhali
Guest
Taposh Dhali

but I am getting another error of msvcr100.dll is either not designed to run on Windows or it contains an error. how can i upload that screen shot ? plz suggest for the error.

Moises.bartoli
Guest
Moises.bartoli

I solved the problem by installing the SQL Developer version 17.4.0.355.2349-x64 and did not have to configure anything else.

Moises.bartoli
Guest
Moises.bartoli

resolvi o problema instalando a versão SQL Developer 17.4.0.355.2349-x64 e não precisei configurar nada mais.

Santiago
Guest
Santiago

Just like to thanks for this post. It has solved my issue.
As I don’t have Administrator permissions in the machine I’m running SQL Developer, I was able to run it by CMD and setting PATH environment variable to the correct 32-BIT JRE folder.
Thanks a lot!

E.X.Acasigua
Guest
E.X.Acasigua

After so many searches on the, finally a solution. Thanks a lot!

Ragu
Guest
Ragu

This was really helpful. kudos.

Max Mena
Guest
Max Mena

As a tip: don`t try to use any other version of JDK will only work with jdk 6. And I got it configure only after placin this address (C:Program Files (x86)Javajdk1.6.0_45binjava.exe) on the pop up window and this one (SetJavaHome C:Program Files (x86)Javajdk1.6.0_45bin) on the sqldeveloper.conf

Jack
Guest
Jack

FINALLY! I can use my oracle… Thank you so much..

Deepak
Guest
Deepak

Yes, It worked for me. Followed the steps as mentioned..

Anton
Guest
Anton

This helped me, thank you!

Er Sujit Kumar Nayak
Guest
Er Sujit Kumar Nayak

i cant believe it , troubleshoot the error with in a second. Was about to uninstall the database server . I know its glitch to work in windows 8 but ends all well. Im lovin it

Ruchi
Guest
Ruchi

Thanks a ton!!!

Ella Cruz
Guest
Ella Cruz

The solution mentioned on top resolves our problem. Thanks!

Prashant
Guest
Prashant

Thanks for the info… :)

Tez
Guest
Tez

That helped… Thanks a lot

Camilo
Guest
Camilo

Works for the JDK 1.8. Many thanks :)

IT
Guest
IT

Many Many ThanKs…it worked for me….

Shoba Iyer
Guest
Shoba Iyer

Dude you saved me life !! Thanks a ton :) :)

willy
Guest
willy

good solution!

Hassan El Khoury
Guest
Hassan El Khoury

Thank You,

Works for me!

infinite1612
Guest
infinite1612

On linux runs with a 64 bits jdk but ONLY jdk 6

Iman
Guest
Iman

note that u must use jdk 1.6.* or jdk 1.5.*, the latest version which is 1.7.* or later still would be problematic

Iman
Guest
Iman

albeit the 32-bit versions of jdk 1.6.* or 1.5.*

Matthias Dailey
Guest
Matthias Dailey

With Oracle SQL Developer version 4, these instructions seem to be inapplicable.

JohnChew
Guest
JohnChew

Thanks!! It works for me..

Shashank Gupta
Guest
Shashank Gupta

Thanks!! Worked for me. Although if someone faces the problem of dialogue box appearing again and again even after giving the correct path, then right click the SQLDeveloper Application file and select Run As administrator. Then give the correct path. And it should work this way.

Akhilesh
Guest
Akhilesh

Even though ran as administrator getting same error dialogue box.Could not find out what is the problem.

Raju Cherukuri
Guest
Raju Cherukuri

Save my day thanks

Raju Cherukuri

Amit
Guest
Amit

Thanks!!
was really well explained sweet and short.

Alfred
Guest
Alfred

Thanks a million.

shreeom
Guest
shreeom

Thanks a lot…

Cesar Velazco
Guest
Cesar Velazco

Thank’s man, This solution helps me so much!!! You are the best !!! =)