sqlcl does not recognize/find my Java installation (Windows)
Date: Wed, 10 Mar 2021 07:14:53 +0100
Message-ID: <ced215e9-4937-e9e4-d432-8fe82a68ed54_at_mgm-tp.com>
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
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Mar 10 2021 - 07:14:53 CET