Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Developer error Unable to find Java Virtual Machine [duplicate]

After installing Oracle 11g client, when I tried to run SQL Developer it's asked me to give it java.exe path. As I didn't know I gave it the wrong path to program files java installation.

Which I later found out that I should have given the path to java.exe inside oracle folder.

Now every time I run it doesn't ask me for java.exe path, but shows the next error: Unable to find Java Virtual Machine.

I think to correct this I need to give Java path to it in oracle folder, but how to change the path that I have already given?

like image 535
Maven Avatar asked Jun 03 '14 06:06

Maven


1 Answers

I faced a similar issue and i fixed it by following steps:

step1: Go to where your SQL Developer is installed.

step2: Go into the sqldeveloper folder (inside SQL developer installation folder) >bin

step3: just edit the sqldeveloper.conf .

   You will see line called “SetJavaHome”, that’s where we need to fix.

    Remove that line, then try starting the SQL Developer again:

use this link for further references.

like image 101
Geek Avatar answered Nov 07 '22 23:11

Geek