简体   繁体   中英

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

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

原来是某个其他项目的不相关目录上有一个IBM JDK1.6文件夹。. 甚至我昨天卸载了所有其他JDK。.今天我才刚删除了该JDK文件夹..突然之间sqldeveloper找到了java1.7并开始工作。.WTF= WTF

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM