For the JRE, something like this should do the trick: JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::").
確定! 回上一頁