The Full Pathname of a Jdk Installation for Oracle SQL Developer

The full pathname of a JDK installation for Oracle SQL Developer

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.

SQLDEVELOPER: JDK Not Found with JDK-11 installed

I'm unable to add a comment as I am a new user here but I am wondering if there is something not quite right or missing in your environment.

I just created an Ubuntu 18.04 VM to match your o/s and used the Synaptic Package Manager to install openjdk-11-jdk (which installed a couple dependent packages as well). Here are the packages this process installed:

• openjdk-11-jdk
• openjdk-11-jdk-headless
• openjdk-11-jre
• openjdk-11-jre-headless

As thatjeffsmith mentioned the JDK is required (so that SQL Developer can use the JDWP debugging capabilities).

I then unzipped the following SQL Developer package which I had previously downloaded:

• sqldeveloper-19.2.1.247.2212-no-jre.zip

After changing to the correct directory (~/Applications/sqldeveloper/19.2/sqldeveloper in my case) I started SQL Developer as follows:

./sqldeveloper.sh

I then imported my connections from a previous export and was able to connect successfully. I only did a few tests in the Worksheet and browsing objects owned by my user but I didn't encounter any issues using OpenJDK 11.

I had previously encountered issues with OpenJDK 11 and OpenJFX 11 — you can read about that here:

A Tale: SQL Developer 19.2 on Ubuntu 18.04 with OpenJDK 11 and OpenJFX 11

The essence of that thread is that I had "pre-installed" the OpenJFX 11 libraries and that caused a conflict with the OpenJFX 12 libraries that SQL Developer installed automatically.

If you are still trying to pursue this I recommend ensuring you have a the JDK installed and verify as I have done in the following:

markwill@ubuntu18-vm01:~$ which javac
/usr/bin/javac
markwill@ubuntu18-vm01:~$ javac -version
javac 11.0.4

Error on running sql developer in ubuntu 16.04

We require JDK 8, and only support Oracle Java.

Support for open JDK 11 is planned for later next year.

How to change settings for SQL Developer to correctly recognize current version of SDK

sqldeveloper.conf under sqldeveloper/bin in the SQLDeveloper base directory has an entry for the java home being used.

(So, on Windows, if you have unzipped SQLDeveloper to C:\sqldev then sqldeveloper.conf is under C:\sqldev\sqldeveloper\bin)

Something like:

SetJavaHome C:\Program Files\Java\jdk1.6.0_20

Quit SQLDeveloper, remove this entry and relaunch SQLDeveloper. You should be prompted for the location of Java.



Related Topics



Leave a reply



Submit