Oracle SQL Developer – Unsupported JDK error

Today, I was trying to install the latest version of Oracle SQL Developer on my Laptop.
I have Oracle SQL Developer version 20.2 already installed, and I want to install the latest release (version 21.4.3)

I downloaded the latest version from:
https://www.oracle.com/tools/downloads/sqldev-downloads.html

I extracted the downloaded file “sqldeveloper-21.4.3.063.0100-no-jre.zip”,and launched the sqldeveloper, but I got the following error:

I’m sure that I have JDK 11 installed on my machine at “C:\Program Files\Java\jdk-11.0.13”, but for some reason SQL Developer picks up another older JDK.

Solution:

How to till SQL Developer to launch with the latest JDK available?

I added the following line to the java.conf file available at “G:\sqldeveloper\sqldeveloper\bin\”, where “G:\sqldeveloper” is the directory I used to install SQL Developer.

This fixed the issue, and now I’m able to launch the SQL Developer successfully:

Please Note that “java11.conf” is included in the “sqldeveloper.conf”:
IncludeConfFile java11.conf

This is my youtube channel for a similar technical content, you are welcome to subscribe:
https://www.youtube.com/user/amfattah2011

Thanks
Ahmed

Advertisement

One thought on “Oracle SQL Developer – Unsupported JDK error

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s