SQLDeveloper keeps asking for java.exe
629092Feb 19 2010 — edited Aug 24 2012Using 64 bit SQLDeveloper 2.1 and the 64 bit version of Sun Java jdk - Version 1.6.0_18 the sqldeveloper.exe keeps asking for java.exe at startup. The JDK was installed first.
I pointed the dialog at C:\Program Files\Java\jdk1.6.0_18\bin\java.exe and sqldeveloper.exe starts up OK.
Next time I also have to also point it java.exe - and next time etc.
The only way I could fix this was to edit C:\Program Files\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
Old: SetJavaHome ../../jdk
New: SetJavaHome ../../../Java/jdk1.6.0_18
Using Wordpad and using Run as Administrator - Notepad doesn't handle the embedded line feeds correctly and the file can only be saved when 'Run as Administrator'.
I would have expected the SetJavaHome to be updated after pointing the way to the JDK.
The old value would be OK if the JDK was installed with (within) sqldeveloper except it isn't for the 64 bit version.
Kind regards
Simon
Edited by: Simon Miller on Feb 19, 2010 12:06 PM