When I try to run the following command I get an error:
$ ant -Dsdk.dir=/opt/google/appengine-java-sdk runserver -Dserver.host=192.168.1.10
Here is the error:
"Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\li b\tools.jar".
I have given jdk path in JAVA_HOME
variable as C:\PROGRA~1\Java\jdk1.6.0_25
as my jdk location is C:\Program Files (x86)\Java\jdk1.6.0_25
.
What is the issue? Please help me.Thanks in advance.
When I have tried to run the command ant -diagnostics , I got
java.home : C:\Program Files\Java\jre6