Fix JAVA_HOME for root