Fedora19的系统,装好MyEclipse后,每次打开.class文件或者.jsp文件时MyEclipse均会自动退出,错误日志报出如下错误:
# An unexpected error has been detected by Java Runtime Environment:
# SIGSEGV (0xb) at pc=0x0000003d2546dae1, pid=3307, tid=139928792954624
# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.3-b02 mixed mode linux-amd64)
# Problematic frame:
# C [libsoup-2.4.so.1+0x6dae1] soup_session_feature_detach+0x11
# An error report file with more information is saved as:
# /usr/MyEclipse/MyEclipse 10/hs_err_pid3307.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
解决办法:
1)打开.class文件时MyEclipse闪退:(方法找自http://bbs.bccn.net/thread-384677-1-1.html)
在myeclipse.ini后面加上:
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
-Dorg.eclipse.swt.browser.XULRunnerPath==/usr/lib/xulrunner-2
2)打开.jsp文件时MyEclipse闪退:(方法找自http://stackoverflow.com/questions/16383992/why-does-my-eclipse-indigo-crash-on-ubuntu-13-04-with-oracle-jdk-64bit)
在myeclipse.ini后面加上:
-Dorg.eclipse.swt.browser.DefaultType=mozilla