Setting JAVA_HOME for the new server.