Eclipse (3.5 and 3.6) crash in ubuntu

I have a problem with eclipse inside ubuntu 10.04 (x86). I installed eclipse by downloading the zip file, not from the sources. everything worked fine until I decided to try eclipse 3.6, which I downloaded the same way as with 3.5 ...

I saved 3.6 in a different directory than 3.5, launched it and opened the workspace created with 3.5. after a little work with 3.6, I notice the following problem:

in some cases when I type sth as CLASSNAME. or VARIABLE. (that is, when the code completion dialog box opens), eclipse crashes when I try

  • close the code completion window (for example, by pressing ESC)
  • select sth from the code completion window.

or something else. This problem did NOT occur for 3.5 at ANY time. ok - switching to old 3.5 did not solve the problem. This version also crashed :(

so I tried:

  • delete the file /home/USER/.eclipse
  • reinstall java from sources
  • create a completely new workspace
  • tried the eclipse version from sources (3.5)

nothing helped: (

I have no ideas ... how do I get rid of this problem?

+3
source share
2 answers

Looks like error 308731 , which is related to XulRunner.

I confirm that Steffen's solution works for me, and I need to set the property " -Dorg.eclipse.swt.browser.XULRunnerPath ".

I have installed:

 -vmargs -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/bin/xulrunner-1.9.2 

in eclipse.ini

https://bugs.eclipse.org/bugs/attachment.cgi?id=160189
(Crash when pressing Enter when selecting content)

+5
source

Add -Dorg.eclipse.swt.browser.DefaultType=mozilla to the end of your eclipse.ini file

This works for me :)

0
source

Source: https://habr.com/ru/post/1315366/


All Articles