Spring
Spring

Reputation: 11865

Oracle SqlDeveloper can not find correct JDK

I'm trying to install Oracle SQLDeveloper4 on my windows7 machine.

I set JAVA_HOME to point my jdk 1.7, I add to my PATH variable %JAVA_HOME%/bin. When I echo and java -version I can see it is Java 1.7 and when I echo I can see it is in the %PATH%

I even set it in its sqlDeveloper.conf file to point to my jdk1.7;

 SetJavaHome C:\Java\jdk1.7

BUT STILL Whenever I run the sqldeveloper.exe I get warning saying it can not run on Java 1.6 and it needs Java1.7 !!

How can I get this stupid thing installed on my machine?? very frustrating..

Upvotes: 2

Views: 21237

Answers (2)

HinduWarrior
HinduWarrior

Reputation: 61

Goto the file: C:\Users\<USER>\AppData\Roaming\sqldeveloper\1.0.0.0.0\product.conf

In this file eg: SetJavaHome <PATH>\jdk1.7.0_67

Upvotes: 6

Spring
Spring

Reputation: 11865

It turned out to be that there is an IBM JDK1.6 folder on some irrelevant directory for some other project..It was there even I uninstalled all other JDK's yesterday..Today I just deleted that JDK folder..than all of a sudden sqldeveloper found the java1.7 and started working..WTF=WTF

Upvotes: 0

Related Questions