Used JDK location JAVA_HOME instead of JRE location java.home in order to locate tools.jar.