Eclipse SWT Browser crash (Linux 64Bit)

后端 未结 1 751
一个人的身影
一个人的身影 2021-01-19 10:42

I have a eclipse project that uses the webbrowser from eclipse SWT which runs smoothly on my windows eclipse. I share the project (via SVN) and try to run it on my 64 Bit Li

相关标签:
1条回答
  • 2021-01-19 11:31

    I had the same problem and finally came across this little gem that explains you can fix it by adding a couple of parameters to your eclipse.ini file.

    Firstly, ensure that the xulrunner package is installed on your system. Then add the following two lines to eclipse.ini:

    -Dorg.eclipse.swt.browser.DefaultType=mozilla
    -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/bin/xulrunner
    

    If this doesn't work, you can try WebKit by adding this line instead:

    -Dorg.eclipse.swt.browser.UseWebKitGTK=true
    
    0 讨论(0)
提交回复
热议问题