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
author image

mkyong

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. Read all published posts by

Comments

avatar
3000
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.

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!

May Abidi
Guest
May Abidi

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

E.X.Acasigua
Guest
E.X.Acasigua

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

Jack
Guest
Jack

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

Ragu
Guest
Ragu

This was really helpful. kudos.

Manoj
Guest
Manoj

thanks you mkyong

Ravi
Guest
Ravi
thanks for the solution.. works nice :) 
Ravi
Guest
Ravi

Thanks for the solution. it works nice.

User
Guest
User

Thank you for solution!

luis
Guest
luis

It worked for me

thanks πŸ˜‰

Orkun
Guest
Orkun

Hey!

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

Bruno Melo
Guest
Bruno Melo

@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.

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.

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

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..