Hi Albert,

I have eclipse configured with a JDK. javac -version gives me
javac 1.6.0_12

--
Abhinav

On Wed, Aug 19, 2009 at 8:54 PM, Albert Attard <[email protected]>wrote:

> You need to have eclipse using a JDK instead of the JRE. See the following
> blob for more details:
> http://albertattard.blogspot.com/2009/08/jsp-compile-error-in-eclipse.html
>
> <http://albertattard.blogspot.com/2009/08/jsp-compile-error-in-eclipse.html>Hope
> this helps,
> Albert Attard
>
> Charles de 
> Gaulle<http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html> - 
> "The better I get to know men, the more I find myself loving dogs."
>
> 2009/8/19 Keith Platfoot <[email protected]>
>
> Hi Abhinav,
>> I suspect the problem may be exactly as the error message implies: access
>> to javac is being denied because of its configured permissions.
>>
>> To test that theory, could you try running javac from a command prompt,
>> using the path from the exception message?  If you are able to run it, javac
>> should display its usage options (since you didn't specify any arguments).
>>  However, if you also get an Access Denied error from the command line, then
>> the problem is not with Eclipse or the plugin, but with the permissions on
>> javac.  One scenario that might produce this error would be if you installed
>> the JDK as an Administrator and then run javac (either manually from the
>> command line or indirectly via Eclipse) as a regular (non-admin) user.
>>
>> Let me know if you are able to reproduce the problem from the command
>> line.  Thanks,
>>
>> Keith
>>
>> On Wed, Aug 19, 2009 at 5:03 AM, Abhinav Lele <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> I am using Eclipse 3.5 ( Galilieo ) on Windows XP to deploy my
>>> application. It runs fine on my local machine but when I try to deploy it to
>>> appengine it is giving me the following error.
>>>
>>>
>>> Creating staging directory
>>> Scanning for jsp files.
>>> Compiling jsp files.
>>> Compiling java files.
>>> java.io.IOException: Cannot run program "D:\usr\dev\jdk16_12\bin\javac":
>>> CreateProcess error=5, Access is denied
>>>
>>> Debugging information may be found in C:\Documents and
>>> Settings\user\Local Settings\Temp\appengine-deploy6738175632278023548.log
>>>
>>> appengine-deploy6738175632278023548.log
>>>
>>> Unable to upload:
>>> java.io.IOException: Cannot run program "D:\usr\dev\jdk16_12\bin\javac":
>>> CreateProcess error=5, Access is denied
>>>     at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
>>>     at
>>> com.google.appengine.tools.admin.Application.startProcess(Application.java:434)
>>>     at
>>> com.google.appengine.tools.admin.Application.compileJavaFiles(Application.java:393)
>>>     at
>>> com.google.appengine.tools.admin.Application.compileJsps(Application.java:361)
>>>     at
>>> com.google.appengine.tools.admin.Application.createStagingDirectory(Application.java:237)
>>>     at
>>> com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:51)
>>>     at
>>> com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:271)
>>>     at
>>> com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:148)
>>>     at
>>> org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
>>>     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>> Caused by: java.io.IOException: CreateProcess error=5, Access is denied
>>>     at java.lang.ProcessImpl.create(Native Method)
>>>     at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
>>>     at java.lang.ProcessImpl.start(ProcessImpl.java:30)
>>>     at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
>>>     ... 9 more
>>>
>>>
>>>
>>> However if I remove the jsp file from the war folder the deployment works
>>> fine. FYI, the jsp is an empty file. Can someone suggest what is going wrong
>>> ???
>>>
>>>
>>> --
>>> Abhinav
>>>
>>>
>>
>>
>>
>
> >
>


-- 


Ted Turner <http://www.brainyquote.com/quotes/authors/t/ted_turner.html>  -
"Sports is like a war without the killing."

--~--~---------~--~----~------------~-------~--~----~
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