I recently installed Helios on my windows 7 64 bit laptop and started seeing this error after I tried to run some simple java code:
Exception occurred executing command line. Cannot run program "C:\Program Files\Java\jre6\bin\javaw.exe" (in directory "C:\projects\workspace\Testing"): CreateProcess error=5, Access is denied
I double checked my 32 bit installation on my desktop running WindowsXP and I have it setup the same way. What is odd is that it works for a while after I first install eclipse, then it throws the error after a while and I can't get past it. I did run java -version from the command line, so the java home is setup right.
If I remember right the widows preferences jre should point to this file, but why is the access denied error showing up?
Aftermath: Sorry for all this. Something got messed up in my environment, so I reverted back to a previous stable point and then I reinstalled eclipse which solved the problem.
I did more checking and this is a common problem, but for differing causes. Here are some links that may help: