当前位置: 技术问答>linux和unix
linux下安装eclipse+cdt
来源: 互联网 发布时间:2016-10-19
本文导语: 怎样在linux下安装eclipse+cdt,请给出具体的步骤。我安装之后,eclipse起不来出现以下信息: Warning: -Xms40m not understood. Ignoring. Warning: -Xmx256m not understood. Ignoring. Warning: -jar not understood. Ignoring. Exception in thread "ma...
怎样在linux下安装eclipse+cdt,请给出具体的步骤。我安装之后,eclipse起不来出现以下信息:
Warning: -Xms40m not understood. Ignoring.
Warning: -Xmx256m not understood. Ignoring.
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: .usr.local.java.eclip se.plugins.org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/l ib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/usr/local/java/eclipse/java.version=1.4.2)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterClasses (/usr/local/java/eclipse/java.version=1.4.2)
。
Warning: -Xms40m not understood. Ignoring.
Warning: -Xmx256m not understood. Ignoring.
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: .usr.local.java.eclip se.plugins.org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/l ib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/usr/local/java/eclipse/java.version=1.4.2)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterClasses (/usr/local/java/eclipse/java.version=1.4.2)
。
|
http://www.cnblogs.com/oomusou/archive/2006/11/11/557741.html
|
报错是说命令行参数不认识。问题应该出在启动eclipse这一步。LZ是如何启动eclipse的?
java -version没问题,说明JRE应该是装好了。