set JAVA_HOME in profile