Added JAVA_HOME and SCALA_HOME