title: Error: Unable to locate tools.jar
body: <p>I am using windows 8 java installed in Program files. I am getting such error "Unable to locate tools.jar. Expected to find it in C:\Program Files (x86)\Java\jre1.8.0_40\lib\tools.jar"</p>
  
  <p>After creating 2 system variables as"JAVA_HOME" with the path 'C:\Program Files\Java\jdk1.8.0_40' and "ANT_HOME" with the path 'D:\Software\apache-ant-1.9.4'. Then, I set the path variable to <code>%JAVA_HOME%\bin;</code> and ant variable to %ANT_HOME%\bin.</p>
  
  <p>Still getting the same error as "Unable to locate tools.jar".</p>
  
  <p>Also, I have tried by copy/pasting tools.jar from JDK lib to JRE lib folder. but had no luck. Getting the same error</p>