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

mkyong

Founder of Mkyong.com, passionate Java and open-source technologies. If you enjoy my tutorials, consider making a donation to these charities.

93 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Taposh Dhali
8 years ago

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.

Santiago
8 years ago

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!

May Abidi
6 years ago
Reply to  Santiago

could you please explain how did you do it with cmd i cant figure it out

Jack
10 years ago

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

Manoj
13 years ago

thanks you mkyong

E.X.Acasigua
8 years ago

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

Ragu
8 years ago

This was really helpful. kudos.

Ravi
14 years ago
thanks for the solution.. works nice :) 
Ravi
14 years ago

Thanks for the solution. it works nice.

User
14 years ago

Thank you for solution!

luis
14 years ago

It worked for me

thanks 😉

Orkun
14 years ago

Hey!

After these changes, it prompts another error that says some dll is missing and I d better re-install..

Bruno Melo
13 years ago
Reply to  Orkun

@Orkun:
Probably you have to install redistributable packages of C++. Try to find into MSDN website for “Microsoft Visual C++ 2010 Redistributable Package” and then navigate to version 2005 also. Install both x86 and x64 versions.

Arun G Kamble
5 years ago

Thank you very much sir!!!!

vera
5 years ago

Finally finally resolved this issue. Thankyou so much

Andre
5 years ago

Thanks you so much, finally i can use sqldeveloper.

Pradeep Arumug
6 years ago

Thank you so much. My problem got resolved !!! 🙂

A D
7 years ago

Thank you very much. I was just spend an hour with the JVM not found error. I installed 32 bit jdk and all is Ok.

Ganesh
7 years ago

Thank you mkyong, It worked and problem solved.

Kapil
7 years ago

Thank you so much. Worked for me.

srinivas
8 years ago

Thank you. I am able to fix my issue by setting 32 bit java home.

Moises.bartoli
8 years ago

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
8 years ago

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

Max Mena
10 years ago

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

Deepak
10 years ago

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

Anton
11 years ago

This helped me, thank you!

Er Sujit Kumar Nayak
11 years ago

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
11 years ago

Thanks a ton!!!

Ella Cruz
11 years ago

The solution mentioned on top resolves our problem. Thanks!

Prashant
11 years ago

Thanks for the info… 🙂

Tez
11 years ago

That helped… Thanks a lot

Camilo
12 years ago

Works for the JDK 1.8. Many thanks 🙂