Windows – SQLDeveloper will not launch

oracleoracle-sqldeveloperoracle11gwindows

I've just installed Oracle 11g on Windows, but I can't seem to launch SQLDeveloper. I get the following error: "Windows is searching for SQLDEVELOPER.BAT". To locate the file yourself, click Browse".

I've looked for SQLDEVELOPER.BAT but I can't find it.

I've also tried to launch sqldeveloper.exe directly, but it asks for the path to java.exe. When I browse and select C:\Program Files (x86)\Java\jre7\bin\java.exe, but then I get the error: Cannot find a J2SE SDK installed at path: C:\Program Files (x86)\Java\jre7

When I select C:\app\mbergeron\product\11.2.0\dbhome_1\jre\1.5.0\bin\java.exe I get the same error (Cannot find a J2SE SDK)

When I select C:\app\mbergeron\product\11.2.0\dbhome_1\jdk\bin\java.exe, I get no error. It just goes back to the dialog asking for java.exe

I've tried launching sqldeveloper.exe from the console, but I'm not getting error messages in the console.

Best Answer

-All you have to do is install Gitbash or any Shell interpreter on your windows PC. Then you have to change the target of the shortcut in the start menu.

Start Menu > Oracle - OraDb11g_home1 > Application Development > SQL Developper -> Properties

CHANGE "Target" By : C:\app\ORACLE_HOME\product\11.2.0\dbhome_1\sqldeveloper\sqldeveloper.sh

CHANGE "Start In" By : C:\app\ORACLE_HOME\product\11.2.0\dbhome_1\sqldeveloper

You can now access SQL Developer, with a direct link from your start menu.

Related Topic