hi all,
created a VM with CentOS 7 + DB 21c XE + Apex 21 + ORDS 21 + Tomcat 9
now installed latest SQL Developer
when run its asking for jdk path as below:
Valid default JDK not found
Type the full pathname of a JDK installation (or Ctrl-C to quit), the path will be stored in /root/.sqldeveloper/21.2.1/product.conf
i copy pasted : /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/
but it says: Error: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.302.b08-0.el7_9.x86_64/bin/java not found or not a valid JDK
go to /usr/lib/jvm, list the directory and checked for default java version, here is screenshot:
please help to set default jdk path (JAVA_HOME) so it will not ask everytime.
all these activities perform with actual " root " user.
regards
note: when we install ORDS which requires JAVA there is no problem, it is running fine with what default java as is and for SQL Developer it failed to find default version ( mentioned above "Valid default JDK not found" ) when trying to run ./sqldeveloper.sh ?