fix JAVA_HOME and IP ADDR