Can't start Eclipse 3.5.2?
I'm running Windows Vista x64, and I have JDK 1.6.0_21 (x64 version, I believe) installed. I recently downloaded Eclipse 3.5.2 because I want to do some Android development (apparently you can't use 3.6 yet due to bugs...), but I keep running into the same error message whenever I try to start Eclipse:
http://img42.imageshack.us/img42/8282/42786776.jpg
开发者_开发百科Does anyone know why this is happening? Do I need a 32-bit version of Java or Java 5 or something? If so, how would I specify that Eclipse uses a different version of Java (preferably I'd like to specify it in the eclipse.ini file and not mess with my environment variables).
You need to use a 32 bit VM since you are using a 32 bit eclipse. For 3.5, 64 bit windows builds are hard to find, though I think they do exist.
If your eclipse were a 64 bit version, the launcher would be org.eclipse.equinox.launcher.win32.win32.x86_64
, but yours is org.eclipse.equinox.launcher.win32.win32.x86
without the _x64. It is listed around the middle of the error message.
To change the VM, simply add a -vm parameter to your eclipse.ini. I usually add mine as first entry, though I'm not sure that's important. It should look like this:
-vm
C:\path\to\java\bin\javaw.exe
Read here http://www.java.com/en/download/faq/java_win64bit.xml and install the version that fits best your version of windows
精彩评论