Why can't I open SQL Developer when I have Java 10 installed?
16,113
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`
Author by
Henry Yang
Updated on September 18, 2022Comments
-
Henry Yang almost 2 years
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/
How do I get SQL developer to work?
-
Ramhound about 6 yearsCould be a simple system variable path issue.
-
Henry Yang about 6 yearsI download java sdk 8 at oracle.com/technetwork/java/javase/downloads/… and now sql developer works
-
Line almost 5 yearsmaybe you had OpenJDK, while OracleJDK was required? (see this comment)
-
Henry Yang almost 5 years@Line Sorry my SQL developer works now and I don't remember what I did to fix it. I should have posted my solution when I fixed it. I will just leave this question open if other people encounter same issue
-
-
myhouse over 4 yearsYou deserve more likes. Great fix! Thanks!