I am running Windows 8 Professional and I am trying to run Eclipse as a non-administrator user without success. Eclipse terminates with "JVM Terminated, Error code 2".
Eclipse tries to use %SYSTEM32%\javaw.exe inspite of JAVA_HOME being set to %PROGRAM_FILES%\Java\jdk1.7.0_07.
I have a non-administrator user account and when I type
dir c:\windows\system32\java* it results in "File Not Found".
Here is where it gets strange. If I open a command prompt as Administrator and type the same command I get:
Directory of C:\Windows\System32 09/24/2012 10:16 AM 188,904 java.exe 09/24/2012 10:16 AM 189,416 javaw.exe 09/24/2012 10:16 AM 289,768 javaws.exe
I have full read and execute access in %SYSTEM32% as my normal user, but I only see 2414 files in System32 as opposed to 3107 if running as administrator.
What is going on and is there any way to fix this?