add JAVA6_HOME and JAVA7_HOME for Linux