LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Eclipse 3.6 autocomplete crash (https://www.linuxquestions.org/questions/slackware-14/eclipse-3-6-autocomplete-crash-842137/)

cheires 11-03-2010 11:11 AM

Eclipse 3.6 autocomplete crash
 
Hi there,
I use Slackware 13.1 and eclipse 3.6 (Helios).
When i do some programming the eclipse is allways crashing. Eg: class c, c.gwtC();
when i write the "." and the autocomplete is activated the eclipse crashes.
Does anyone have some solution to this?
Thanks in advance.

koenigdavidmj 11-03-2010 02:15 PM

You should probably talk to the Eclipse people over IRC or their bug tracker; this is probably not related to Slackware in particular as the SlackBuild just repackages the upstream binaries. If you run Eclipse from a terminal then you can likely get an error message (including stack trace) that would be helpful.

BurlyMan 12-18-2010 01:22 PM

I'm having the same issue with Eclipse crashing when the IDE attempts to suggest methods and variables for auto-complete. I just started my search for a solution and ran across this thread. Has anyone figured it out?

Slackware 13.1
Eclipse Helios 3.6.1
Java 1.6.0_23

pino_otto 12-18-2010 03:41 PM

You can try to insert the following line:

-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/seamonkey

after the "-vmargs" line in the eclipse.ini file

My eclipse.ini is the following and it solves the crash problem:

$ cat eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/seamonkey
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m

I hope that can help you.

Regards,
giovanni

mogi57 02-28-2012 02:48 AM

[solved]
 
I had this same issue and this worked. Thanks! :)


All times are GMT -5. The time now is 01:23 PM.