I recently installed Helios on my Windows 7 64-bit laptop and started seeing this error after I tried to run simple Java code:
An error occurred while executing the command line. Cannot start the program "C: \ Program Files \ Java \ jre6 \ bin \ javaw.exe" (in the directory "C: \ projects \ workspace \ Testing"): Error CreateProcess = 5, Access denied
I double-checked my 32-bit installation on my WindowsXP desktop, and I configured it the same way. What is strange is that it works for a while after I first installed eclipse, after which it gives an error after a while, and I can not get past it. I ran java -version from the command line, so the java house is configured correctly.
If I remember correctly, the preferences of widows jre should point to this file, but why does the access denied error appear?
Aftermath:
Sorry for all this. Something happened in my environment, so I went back to the previous stable point and then reinstalled eclipse, which solved the problem.
I did more checks, and this is a common problem, but for various reasons. Here are some links that might help:
- Eclipse Windows 7
- question Eclipse Win7
- 64- Windows 7
- Windows 7 Access