update JAVA_HOME for 2.2