I know this is a known problem and I have been looking in a lot of other forums for a way to fix this problem but never found one that works for me. So I thought I should as here but I'm not sure if it's the right place.
As mentioned in the title Eclipse crashes and does it a lot. It gives no warning, just shuts down and gives the following message:
On 2/10/2011 1:21 PM, Andr wrote:
> I know this is a known problem and I have been looking in a lot of other
> forums for a way to fix this problem but never found one that works for
> me. So I thought I should as here but I'm not sure if it's the right place.
> As mentioned in the title Eclipse crashes and does it a lot. It gives no
> warning, just shuts down and gives the following message:
> Java was started but returned exit code=1
> -jar C:\eclipse\plugins/org.eclipse.equinox.launcher_1.10.v201005 07.jar
> -os win32
> -ws win32
> -arch x86_64
> -launcher c:\eclipse\eclipse.exe
> -name Eclipse
> -startup c:\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20100
> -exitdata bf0_5c
> -vm c:\program files\java\jdk1.6.0_23\bin\javaw.exe
> -vm c:\windows\system32\javaw.exe
> -jar c:\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20100 507.jar
> I am using Windows 7 64 bit, Java 1.6 Update 23 for windows 64 bit, and
> eclipse helios 3.6.1 for windows 64 bit.
> This is my eclipse.ini file:
> -vm c:\program files\java\jdk1.6.0_23\bin\javaw.exe -vmargs
> I have tried to add the: -vm c:\program
> files\java\jdk1.6.0_23\bin\javaw.exe line which I read about in some
> forum. I have tried to re-import the workspace which I read could be a
> problem too.
> Does anyone have any ideas of what I can do to solve this or at least
> point me in the right direction?
> I appreciate any answer!
> // André
This helped me too. I am a newbie setting up eclipse and C++ so it took me a couple of iterations as I was not sure where in the ini file I needed to add it and found it worked if it was the last line I had to add the command -XX:-UseCompressedOops
at the end of the eclipse.ini file: