Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
289 views
in Technique[技术] by (71.8m points)

java - Oracle SqlDeveloper JDK path

I have recently installed sqldeveloper but i'm getting the below warning window when I try to launch it. This is causing the sqldeveloper to run very very slow and it hangs frequently

enter image description here

I have tried editing the file sqldeveloper.cong as suggested in the window above but does not work

Original

SetJavaHome ../../jdk

Update 1

SetJavaHome C:Program FilesJavajdk1.7.0_60in and all other variations but still getting the above warning window

Update 2 SetJavaHome C:Program Files (x86)Javajre7in and all other variations

Please suggest the correct way

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The message seems to be out of date. In version 4 that setting exists in two files, and you need to change it in the other one, which is:

%APPDATA%sqldeveloper1.0.0.0.0product.conf

Which you might need to expand to your actual APPDATA, which will be something like C:UserscprasadAppDataRoaming. In that file you will see the SetJavaHome is currently going to be set to the path to your Java 1.8 location, so change that as you did in the sqldeveloper.conf:

SetJavaHome C:Program FilesJavajdk1.7.0_60in

If the settig is blank (in both files, I think) then it should prompt you to pick the JDK location when you launch it, if you prefer.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...