Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQLDeveloper will not launch

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.

like image 388
eborgner Avatar asked May 10 '13 13:05

eborgner


People also ask

How do I start SQL Developer?

Open the directory where the SQL Developer 3.0 is located, right-click sqldeveloper.exe (on Windows) or sqldeveloper.sh (on Linux) and select Send to > Desktop (create shortcut). 2 . On the desktop, you will find an icon named Shortcut to sqldeveloper.exe. Double-click the icon to open SQL Developer 3.0.

How do I start SQL Developer in Linux?

To start SQL Developer, click the application's icon. In Linux, unpack the . rpm package, and then change ( cd to the sqldeveloper directory. To launch SQL Developer, run the sqldeveloper.sh shell script.

How do I start SQL Developer from command prompt?

If you are on a Windows system, display a Windows command prompt. At the command prompt, type sqlplus and press the key Enter. SQL*Plus starts and prompts you for your user name. Type your user name and press the key Enter.


1 Answers

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

like image 197
Tchevass Avatar answered Oct 13 '22 11:10

Tchevass