Eclipse Helios not launching

风流意气都作罢 提交于 2019-11-29 13:13:53
prefabSOFT

This occurs when using an x86 Eclipse with a x64 JDK (and perhaps vice-versa). Just point to a JDK with the same architecture as your Eclipse in your eclipse.ini file, eg:

-vm
D:/Dev/Java/jdk1.6.0_25_x86/jre/bin/javaw.exe

I had this same problem.

I'm on Windows Vista 64, with the 64-bit versions of both Helios and the JDK/JRE 1.6 update 14. I had been using Eclipse Galileo just fine.

Upgrading to the JDK/JRE 1.6 update 24 (the latest as of this date) fixed the problem. I didn't have to make any changes to the Helios eclipse.ini file.

If this started happening when seemingly nothing has changed with respect to your eclipse and java installations, and there is a chance that this started happening after a system (Windows) crash or an unexpected eclipse shutdown, the problem may be due to a change in the compatibility mode of eclipse.exe. When the system or eclipse crashed, Windows may have decided to change the compatibility mode of eclipse.exe whether you liked it or not.

Unfortunately, this mode can not be changed through the "compatibility" tab on the file properties. The change has to be made by editing the registry. Look for the two keys:

  • HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Persisted
  • HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

Look for any entries for eclipse.exe. I deleted one from each location and this solved the problem for me.

The compatibility information is tied to the file name and is persisted in the registry even if the file itself is deleted or moved. This is why changing the location of the eclipse directory will solve the problem. This also means that reinstalling eclipse in the same location will not fix the problem since the registry entry will still be there.

ok, so i had this problem and updating did not work, i fixed it because apparently my computer didnt point to the right place or got confused

I have a 32 bit machine and the 32 bit java

I had the eclipse folder on my desktop and it gave me this error

I simply moved the eclipse folder to program files and it worked, no idea why

Hopefully that helped gud luck!

Anonymous

For me worked placing the switch -VM at the beginning of the eclipse.ini file. Plus having both Java and Eclipse in 32-bit version, even though I have 64-bits Win 7.

I also had the same issue with Eclipse Indigo on 64-bit Windows 7. The error message was "Java was started but returned exit code=1".

Updating to latest JRE 1.6 update 29 fixed it.

SidoKS

Move the folder in your Program Files. That fixed my problem with the error code 13.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!