The full pathname of a JDK installation for Oracle SQL Developer

Renaud is Not Bill Gates picture Renaud is Not Bill Gates · Mar 3, 2014 · Viewed 66.7k times · Source

I want to run Oracle SQL Devloper on Ubuntu with this command:

sh sqldeveloper/sqldeveloper.sh

Then I got this message:

Type the full pathname of a JDK installation (or Ctrl-C to quit), the path will be stored in /home/aimad/.sqldeveloper/4.0.0/product.conf

So I gave the path of jdk as the following:

/usr/lib/jvm/java-7-openjdk-i386/

But then I got this message:

Error: Java home /usr/lib/jvm/java-7-openjdk-i386//bin/java is not a JDK. Running SQL Developer under a JRE is not supported.

Answer

szabozoltan picture szabozoltan · Nov 27, 2014

For me it was similar error. I solved it simply by inserting

SetJavaHome /usr/lib/jvm/java-7-openjdk-amd64/

into ~/.sqldeveloper/4.0.0/product.conf file.