SQLDeveloper not starting

java-home, oracle-sqldeveloper, sql

Solution

Oracle SQL Developer uses a configuration file named products.conf which is situated at your roaming directory.

If you are using Windows 7 then the directory path will be: C:\Users\\AppData\Roaming\sqldeveloper\1.0.0.0.0

- Delete whole sqldeveloper directory from C:\Users\\AppData\Roaming\

- Re run sqldeveloper executable, this will prompt for jdk home

- Select jdk home. i.e C:\Program Files\Java\jdk1.7.0_55

- Enjoy!

Problem

When i try to start SQLDeveloper, it is giving me the following error in command prompt: ``` Error: This product requires a Java(TM) Platform 5.0 runtime. You are using 1.4.2-b28 from C:\j2sdk1.4.2\jre ``` But my JAVA_HOME is set to java 6 ``` JAVA_HOME=C:\Program Files\Java\jdk1.6.0_32 ``` Can anyone explain what exactly to do to resolve this?

Original source