Google App Engine with Java - Error running javac.exe compiler
- by dta
On Windows XP
Just downloaed and unzipped google app engine java sdk
to C:\Program Files\appengine-java-sdk
I have jdk installed in
C:\Program Files\Java\jdk1.6.0_20.
I ran the sample application by
appengine-java-sdk\bin\dev_appserver.cmd appengine-java-sdk\demos\guestbook\war
Then I visited localhost:8080 to find :
HTTP ERROR 500
Problem accessing /. Reason:
Error running javac.exe compiler
Caused by:
Error running javac.exe compiler
at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:473)
How to Fix it?
My JAVA_HOME points to C:\Program Files\Java\jdk1.6.0_20.
I also tried chaning my appcfg.cmd to :
@"C:\Program Files\Java\jdk1.6.0_20\bin\java" -cp
"%~dp0..\lib\appengine-tools-api.jar" com.google.appengine.tools.admin.AppCfg %*
It too didn't work.