We cannot execute /usr/lib/jvm/java-11-openjdk-amd64/bin/java/bin/java code example Example: JAVA_HOME is not defined correctly. export JAVA_HOME=$(/usr/libexec/java_home)