If you look closer at the message, you can see that it's looking for the
java compiler - *javac.exe* not java.exe. The JRE does not contain the Java
compiler. Instead, you'll need to put the JDK on your PATH ahead of your
JRE.
On Fri, Sep 25, 2009 at 10:50 PM, Mark Space <[email protected]> wrote:

>
> Hi all, I just tried appcfg for the first time and I got some odd
> errors.  The error is odd because my javac is exactly where the error
> says it is looking.
>
> ************************************<screen-cap>
>
> C:\Users\Brenden\Downloads\GoogleAppEngine\appengine-java-
> sdk-1.2.5\appengine-ja
> va-sdk-1.2.5\bin>appcfg.cmd update c:\Users\Brenden\Dev\GAE1\web
> Reading application configuration data...
> Beginning server interaction for paixweb...
> 0% Creating staging directory
> 5% Scanning for jsp files.
> 8% Compiling jsp files.
> 11% Compiling java files.
>
> Error Details:
> Sep 25, 2009 7:34:34 PM org.apache.jasper.JspC processFile
> INFO: Built File: \index.jsp
>
>
> java.lang.IllegalStateException: cannot find javac executable based on
> java.home
> , tried "C:\Program Files\Java\jre6\bin\javac.exe" and "C:\Program
> Files\Java\bi
> n\javac.exe"
> Unable to upload app: cannot find javac executable based on java.home,
> tried "C:
> \Program Files\Java\jre6\bin\javac.exe" and "C:\Program Files\Java\bin
> \javac.exe
> "
> Please see the logs [C:\Users\Brenden\AppData\Local\Temp
> \appcfg80867784232196126
> 55.log] for further information.
>
>
> C:\Users\Brenden>dir "C:\Program Files\Java\jre6\bin\java.exe"
>  Volume in drive C is OS
>  Volume Serial Number is 2225-A6A0
>
>  Directory of C:\Program Files\Java\jre6\bin
>
> 07/25/2009  05:23 AM           145,184 java.exe
>               1 File(s)        145,184 bytes
>               0 Dir(s)  23,832,948,736 bytes free
>
> C:\Users\Brenden>
>
> </screen-cap>**************************************************
>
>
> Does anyone have an idea what might be going on?
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to