I just installed Oracle 11g, and tried to start Oracle SQL developer so as to start writing queries.
It is asking me:
Enter the full pathname for the jav
If you are asked to enter the full pathname for the JDK, click Browse and find it. For example, on a Windows system the path might have a name similar to C:\Program Files\Java\jdk1.7.0_51.
you should browse to where java installed, then go to bin directory which contains the java.exe file.
example - C:\Program Files\Java\jdk1.6.0_03\bin\java.exe
but you should run your SQL Developer as Administrator
Please provide full path >
In mines case it was E:\app\ankitmittal01\product\11.2.0\dbhome_1\jdk\bin\java.exe
From : http://www.javamadesoeasy.com/2015/07/oracle-11g-and-sql-developer.html
You have to give the path to jdk ...typically C:\Program Files\Java.. Still if it is asking you for the path then Check this http://www.shellperson.net/oracle-sql-developer-enter-the-full-pathname-for-java-exe/
Hhere is what what I did to fix it:
Prerequisite
After
Open the file ..\sqldeveloper\sqldeveloper\bin\sqldevloper.conf
and add the following line to set jdk path:
SetJavaHome C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk
If it dont allow you to save the file, copy whole sqldeveloper folder to a different location where you have write access to modify this file.
Run sqldeveloper.exe
(from the new place if you moved the folder out from oracle folders) as administrator and enter the jdk path that comes with your oracle installation: e.g. C:\Program Files\Oracle\11g\product\11.1.0\client_1\jdk\bin
I found my java.exe that worked for SQL Developer at C:\ORACLE11G\product\11.2.0\client_1\jdk\bin where C:\ORACLE11G is my Oracle Home. The client that I have installed is 11.2.0.
Hope this helps.