Bug#511713: eclipse won't start

Pantelis Koukousoulas pktoss at gmail.com
Fri Feb 6 17:48:23 UTC 2009


On Fri, Feb 6, 2009 at 7:34 PM, Kristóf Kály-Kullai <kakukri at gmail.com> wrote:
> A few more information:
>
> I have tried to find out exactly which file(s) it needs from xulrunner-dev,
> and the surprising result is that creating an empty
> /usr/lib/xulrunner-devel-1.9 folder makes Eclipse starting.
>
> I also found in a forum an other workaround, namely it can be started with
> the command 'java -jar /usr/lib/eclipse/startup.jar'. It looks like the
> problem is somewhere in /usr/lib/eclipse/eclipse, which is supposed to run
> startup.jar, plus it also does some other checking and setting up.

IIRC, the startup problem is that eclipse wants to show the 'welcome'
page in html
and wants to use xulrunner for that. This trick (empty dir) probably
causes it to
not display this page, so it starts correctly.

If you want to do something equivalent that does not involve messing
with dirs under
/usr/lib, you can just put

-Dorg.eclipse.swt.browser.XULRunnerPath=

in your eclipse.ini after vmargs, or just use that from the command line.

You will still have problems though if you want to use the embedded browser for
other things like previewing web pages etc.





More information about the pkg-java-maintainers mailing list