Category Archives: Oracle

Unable to find a Java Virtual Machine.

If you see this error when you try to start SQL Developer, most likely you had a setting pointed to the wrong path.

image

Go to where your SQL Developer is installed:

image

Go into again the sqldeveloper folder (marked above)

image

Then the bin folder

image

Among the files, there is this sqldeveloper.conf. Open it up:

image

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

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

image

Now it will ask you for the path again.

I set it to the jdk under Oracle database installation:

image

That worked for me.