Please try verification step in "Getting Java" session from the tutorial
http://code.google.com/appengine/docs/java/gettingstarted/installing.html

java -version
javac -version

If error, it's likely you need to add {JAVA_HOME}\bin to "Path" variable.
Typically you might need to remove "bin" out of your JAVA_HOME setting "C:
\Program Files (x86)\Java\jdk1.6.0_18\bin".
Thanks.

On Wed, Apr 21, 2010 at 3:56 AM, fni <min...@gmail.com> wrote:

> I'm learning to use Google App Engine, I installed it in Netbeans, the
> project works, but when I clicked on "Deploy To Google App Engine", I
> got the following error :
>
> Beginning server interaction for ...
> 0% Creating staging directory
> 5% Scanning for jsp files.
> 8% Compiling jsp files.
> 11% Compiling java files.
>
> Error Details:
> Apr 20, 2010 3:51:23 PM org.apache.jasper.JspC processFile
> INFO: Built File: \PayPal_Monitor.jsp
>
> java.lang.IllegalStateException: cannot find javac executable based on
> java.home, tried "C:\Program Files (x86)\Java\jre6\bin\javac.exe" and
> "C:\Program Files (x86)\Java\bin\javac.exe"
>
> Unable to update app: cannot find javac executable based on java.home,
> tried "C:\Program Files (x86)\Java\jre6\bin\javac.exe" and "C:\Program
> Files (x86)\Java\bin\javac.exe"
>
> Please see the logs [C:\Users\NM\AppData\Local\Temp
> \appcfg3946701335172983337.log] for further information.
>
> The file "javac.exe" is in : C:\Program Files (x86)\Java
> \jdk1.6.0_18\bin
>
> How can I add it to "java.home" ? I'm using Win Vista, and I tried to
> add it from "System -> Environment Variables", but there is no
> "java.home" in there. So I added "JAVA_HOME" to it pointing to : C:
> \Program Files (x86)\Java\jdk1.6.0_18\bin
>
> But it still gives me the same error. I wonder where this "java.home"
> is, and how to change it ?
>
> Frank
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to