|
显示如下:
dynasty:/opt$ java --version
Usage: gij [OPTION] ... CLASS [ARGS] ...
to invoke CLASS.main, or
gij -jar [OPTION] ... JARFILE [ARGS] ...
to execute a jar file
Try `gij --help' for more information.
javac 和 java 都能正常工作,eclipse起动闪屏后推出,日志文件如下:
java.lang.LinkageError: unexpected exception during linking: org.eclipse.core.runtime.adaptor.E clipseAdaptor
at java.lang.ClassLoader.resolveClass0(java.lang.Class) (/usr/lib/libgcj.so.4.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.4.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgc j.so.4.0.0)
at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
at org.eclipse.core.runtime.adaptor.EclipseStarter.createAdaptor() (Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(java.lang.String[], java.lang.Run nable) (Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(java.lang.String[], java.lang.Runnabl e) (Unknown Source)
高手指点如何解决? |
|