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:
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:
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1. 1.R36x_v20100810
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm c:\program files\java\jdk1.6.0_23\bin\javaw.exe
-vmargs
-Xms40m
-Xmx512m
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?
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: