Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Helios 64 bit windows 7 javaw access is denied
Helios 64 bit windows 7 javaw access is denied [message #559012] Wed, 15 September 2010 10:29 Go to next message
Ash  is currently offline Ash Friend
Messages: 6
Registered: September 2010
Junior Member
I have a windows 7 64bit laptop with core i7. I have installed the Helios Eclipse package and jdk 6 update 22. I also set eclipse to run as administrative user. Eclipse starts up fine but when I try to run or debug a very simple hello world app i get following error..."launching hello has encountered a problem. Exception occurred executing command line. Cannot run program c:\jdk1.6.0_21\bin\javaw.exe in directory c:\workspace\hello: CreateProcess error=5, Access is denied." any ideas anyone?
Re: Helios 64 bit windows 7 javaw access is denied [message #559626 is a reply to message #559012] Fri, 17 September 2010 12:57 Go to previous messageGo to next message
Ash  is currently offline Ash Friend
Messages: 6
Registered: September 2010
Junior Member
I'm really stuck here... Anybody have a clue...I'm pulling my hair out at the moment!
Re: Helios 64 bit windows 7 javaw access is denied [message #559635 is a reply to message #559626] Fri, 17 September 2010 13:19 Go to previous messageGo to next message
Philipp Zech is currently offline Philipp ZechFriend
Messages: 96
Registered: July 2009
Member
On 09/17/2010 02:57 PM, Ash wrote:
> I'm really stuck here... Anybody have a clue...I'm pulling my hair out
> at the moment!
have you tried to turn UAC off?
Re: Helios 64 bit windows 7 javaw access is denied [message #559647 is a reply to message #559635] Fri, 17 September 2010 13:52 Go to previous messageGo to next message
Ash  is currently offline Ash Friend
Messages: 6
Registered: September 2010
Junior Member
Tried that but it made no difference
Re: Helios 64 bit windows 7 javaw access is denied [message #559654 is a reply to message #559647] Fri, 17 September 2010 14:04 Go to previous messageGo to next message
Philipp Zech is currently offline Philipp ZechFriend
Messages: 96
Registered: July 2009
Member
On 09/17/2010 03:52 PM, Ash wrote:
> Tried that but it made no difference
what about installing java in your home directory and setting the
runtime explicitely inside eclipse to point to that installation?
Re: Helios 64 bit windows 7 javaw access is denied [message #559672 is a reply to message #559654] Fri, 17 September 2010 14:40 Go to previous messageGo to next message
Ash  is currently offline Ash Friend
Messages: 6
Registered: September 2010
Junior Member
Nope, still same issue but with the home directory
Re: Helios 64 bit windows 7 javaw access is denied [message #559684 is a reply to message #559672] Fri, 17 September 2010 14:58 Go to previous messageGo to next message
Philipp Zech is currently offline Philipp ZechFriend
Messages: 96
Registered: July 2009
Member
On 09/17/2010 04:40 PM, Ash wrote:
> Nope, still same issue but with the home directory
that's definitely weird; maybe this helps:
http://jeffdickman.com/2010/07/installing-eclipse-64bit-on-w indows-7-64bit/
Re: Helios 64 bit windows 7 javaw access is denied [message #559689 is a reply to message #559684] Fri, 17 September 2010 15:18 Go to previous messageGo to next message
Ash  is currently offline Ash Friend
Messages: 6
Registered: September 2010
Junior Member
That link is for when you can't launch eclipse. My issue is I can launch it but when I try to execute java prog that's when I get the issue. Any other ideas?
Re: Helios 64 bit windows 7 javaw access is denied [message #559707 is a reply to message #559689] Fri, 17 September 2010 15:49 Go to previous messageGo to next message
Philipp Zech is currently offline Philipp ZechFriend
Messages: 96
Registered: July 2009
Member
On 09/17/2010 05:18 PM, Ash wrote:
> That link is for when you can't launch eclipse. My issue is I can launch
> it but when I try to execute java prog that's when I get the issue. Any
> other ideas?
well, not anymore. i've never experienced sth like that when working on
Win7, but i personally prefer linux. sorry
Re: Helios 64 bit windows 7 javaw access is denied [message #559997 is a reply to message #559012] Mon, 20 September 2010 16:23 Go to previous message
Ash  is currently offline Ash Friend
Messages: 6
Registered: September 2010
Junior Member
I followed the instructions in the article...
http:// jeffdickman.com/2010/07/installing-eclipse-64bit-on-windows- 7-64bit/

And added the following VM option to the eclipse.ini file...

-vm
C:\Program Files\Java\jre6\bin\javaw.exe

And this solved the issue - don't know exactly why but it must have given the access denied error message becuase it was using a different JRE...wierd.

Hope this helps someone as this caused me days of headache!
Previous Topic:Keeping Launch configurations after removing a project
Next Topic:How to invoke internal browser from J2EE Debug Config?
Goto Forum:
  


Current Time: Tue Apr 23 14:13:58 GMT 2024

Powered by FUDForum. Page generated in 0.03525 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top