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’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
What “following line” have you added? I have the same problem
LikeLike