Main Tutorials

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 Author

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

Comments

Subscribe
Notify of
93 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Taposh Dhali
6 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
6 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
4 years ago
Reply to  Santiago

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

Jack
8 years ago

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

Manoj
11 years ago

thanks you mkyong

E.X.Acasigua
6 years ago

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

Ragu
6 years ago

This was really helpful. kudos.

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

Thanks for the solution. it works nice.

User
11 years ago

Thank you for solution!

luis
11 years ago

It worked for me

thanks 😉

Orkun
12 years ago

Hey!

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

Bruno Melo
11 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
3 years ago

Thank you very much sir!!!!

vera
3 years ago

Finally finally resolved this issue. Thankyou so much

Andre
3 years ago

Thanks you so much, finally i can use sqldeveloper.

Pradeep Arumug
4 years ago

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

A D
4 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
5 years ago

Thank you mkyong, It worked and problem solved.

Kapil
5 years ago

Thank you so much. Worked for me.

srinivas
5 years ago

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

Moises.bartoli
6 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
6 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
7 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
8 years ago

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

Anton
9 years ago

This helped me, thank you!

Er Sujit Kumar Nayak
9 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
9 years ago

Thanks a ton!!!

Ella Cruz
9 years ago

The solution mentioned on top resolves our problem. Thanks!

Prashant
9 years ago

Thanks for the info… 🙂

Tez
9 years ago

That helped… Thanks a lot

Camilo
9 years ago

Works for the JDK 1.8. Many thanks 🙂