Google App Engine with Java - Error running javac.exe compiler
Posted
by dta
on Stack Overflow
See other posts from Stack Overflow
or by dta
Published on 2010-06-03T09:36:58Z
Indexed on
2010/06/04
6:09 UTC
Read the original article
Hit count: 923
java
|google-app-engine
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.
© Stack Overflow or respective owner