5

In my Mac terminal:

$ javac -version
javac 10.0.1

I open SQL Developer and get this dialog:

SQL Developer requires a minimum of Java 8. Java 8 can be downloaded from: http://www.oracle.com/technetwork/java/javase/downloads/

The dialog image

How do I get SQL developer to work?

angelofdev
  • 1,156

2 Answers2

5

If you don't still want to keep java 10, the fix is easy

vi /Applications/SQLDeveloper.app/Contents/MacOS/sqldeveloper.sh

Change the second line:

From:

TMP_PATH=`/usr/libexec/java_home -F -v 9`

To

TMP_PATH=`/usr/libexec/java_home -F -v 10`
0

Had the same issue. Installed SQL Developer 18.2.0.183 with JDK 10.0.1 and had this message:

Found /usr/java/jdk-10.0.1/bin/java/bin/java to run this product, and the major version of this Java is 10.The mandatory minimum major version to run this product is 1.8.

Once I removed the 10.0.1 version and installed the 1.8.0_172 version it worked fine.

Milan
  • 1