Open xiongma opened 1 year ago
Could you show the output of find /opt/tiger/jdk/jdk8u265-b01 -name 'libjvm.so'
?
same issue here. Its not picking up the correct libjvm location despite java_home being correctly set.
also its linking to a location with double // between latest and lib above.
Could you show the output of find ${JAVA_HOME} -name 'libjvm.so'
?
/usr/lib/jvm/java-17-openjdk-amd64/lib/server/libjvm.so
echo ${JAVA_HOME}
ls -lah /usr/lib/jvm/
echo ${JAVA_HOME} /usr/lib/jvm/java-17-openjdk-amd64/lib/
ls -lah /usr/lib/jvm/ total 16K drwxr-xr-x 3 root root 4.0K Jan 27 11:42 . drwxr-xr-x 71 root root 4.0K Jan 27 11:42 .. -rw-r--r-- 1 root root 1.8K Oct 24 13:44 .java-1.17.0-openjdk-amd64.jinfo lrwxrwxrwx 1 root root 21 Oct 24 13:44 java-1.17.0-openjdk-amd64 -> java-17-openjdk-amd64 drwxr-xr-x 7 root root 4.0K Jan 27 11:42 java-17-openjdk-amd64
Could you try export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
?
when i use this type of code to create a connect, it raise this error
environments