updated JAVA_HOME based on image specs