Actually, it worked before but eclipse 3.4.2 suddenly failed to start this morning. I don't know what happened, so I just googled for the error message:
-------------------------------------------------------
org.eclipse.swt.SWTError: XPCOM error -2147467262
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:1638)
at org.eclipse.swt.browser.Mozilla.setText(Mozilla.java:1861)
at org.eclipse.swt.browser.Browser.setText(Browser.java:737)
...
-------------------------------------------------------
Then I found the solution on this blog
So I downloaded an older version of xulrunner (I use 1.9.0), unzip it to my local folder. I put the line below in my eclipse.ini file and my eclipse WORKS again~~
-Dorg.eclipse.swt.browser.XULRunnerPath=/path_to_your_xulrunner/xulrunner
沒有留言:
張貼留言