QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1055|回复: 1

装了gcj以后lumaqq运行不了了

[复制链接]
发表于 2005-12-12 11:33:09 | 显示全部楼层 |阅读模式
root@localhost:~# lumaqq
root@localhost:~# Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: edu.tsinghua.lumaqq.LumaQQ
   at java.lang.VMClassLoader.transformException(java.lang.Class, java.lang.Throwable) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: java.lang.StringBuilder not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./lib/xerces.jar,file:./lib/swt.jar,file:./lib/poifs.jar,file:./lib/org.eclipse.ui.workbench_3.1.0.jar,file:./lib/org.eclipse.osgi_3.1.0.jar,file:./lib/org.eclipse.jface_3.1.0.jar,file:./lib/org.eclipse.emf.ecore.xmi_2.1.0.jar,file:./lib/org.eclipse.emf.ecore_2.1.0.jar,file:./lib/org.eclipse.emf.common_2.1.0.jar,file:./lib/org.eclipse.core.runtime_3.1.0.jar,file:./lib/org.eclipse.core.resources_3.1.0.jar,file:./lib/lumaqq_xsd.jar,file:./lib/lumaqq.jar,file:./lib/log4j-1.2.8.jar,file:./lib/jql_protocol.jar,file:./lib/jql_net.jar,file:./lib/je.jar,file:./lib/jdom.jar,file:./lib/commons-logging.jar,file:./lib/commons-codec.jar,file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
   ...4 more

/etc/profile
export JAVA_HOME=/usr/lib/sun-j2se5.0-jre
export CLASSPATH=/usr/lib/sun-j2se5.0-jre/lib/tools.jar:/usr/lib/sun-j2se5.0-jre/lib/td.jar:/usr/lib/sun-j2se5.0-jre/lib/rt.jar:.

PATH="/usr/lib/sun-j2se5.0-jre/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games"

debian unstable
 楼主| 发表于 2005-12-16 12:53:45 | 显示全部楼层
localhost:~# mv /usr/bin/java /usr/bin/java-gcj
localhost:~# ln -s /usr/lib/sun-j2se5.0-jre/bin/java /usr/bin/java

解决
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-23 13:20 , Processed in 0.036412 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表