Hello,
I am trying to run sqlcl but it refuses to use the Java JDK I have installed.
I have SQL Developer 20.4 running without any further ado, but sqlcl only opens
the Java download page when I run it.
I have tried to put SetJavaHome with the path to my JDK into the
ide\bin\jdk.conf and sqldeveloper\bin\jdk.conf and sqldeveloper\bin\sdcli.conf
but sql.exe did not pick it up from any of those places.
This happens when I try to run it:
c:\etc\SQLDeveloper-20.4\sqldeveloper\bin>echo %JAVA_HOME%
c:\etc\Java11
c:\etc\SQLDeveloper-20.4\sqldeveloper\bin>java -version
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.10+9, mixed mode)
c:\etc\SQLDeveloper-20.4\sqldeveloper\bin>where java
c:\etc\Java11\bin\java.exe
c:\etc\SQLDeveloper-20.4\sqldeveloper\bin>sql.exe
This application requires a Java Runtime Environment 1.8.0_220
c:\etc\SQLDeveloper-20.4\sqldeveloper\bin>
The same happens when I use sqlcl from the separate download (without SQL
Developer)
I also tried other Java versions/distributions but to no avail.
Any ideas?
Thomas
--
//www.freelists.org/webpage/oracle-l