S********f 发帖数: 36 | 1 新手上路,大家帮忙看一下如何解决:
在用命令行(java -jar xgridagent.jar ...)安装时出现以下错误:
Exception in thread "main" java.lang.NoClassDefFoundError: while resolving
class:
org.beepcore.beep.core.SessionImpl
at java.lang.VMClassLoader.transformException(java.lang.Class, java.lang.
Throwable) (/usr/lib/
libgcj.so.6.0.0)
.............
Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Decoder not
found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:xgridagent.jar,file:./],
parent=gnu.gcj.runtime.ExtensionClas | g*****g 发帖数: 34805 | 2 find out what jar org.beepcore.beep.core.SessionImpl is in
and put -classpath the.jar for your command
lang.
【在 S********f 的大作中提到】 : 新手上路,大家帮忙看一下如何解决: : 在用命令行(java -jar xgridagent.jar ...)安装时出现以下错误: : Exception in thread "main" java.lang.NoClassDefFoundError: while resolving : class: : org.beepcore.beep.core.SessionImpl : at java.lang.VMClassLoader.transformException(java.lang.Class, java.lang. : Throwable) (/usr/lib/ : libgcj.so.6.0.0) : ............. : Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Decoder not
| m******t 发帖数: 2416 | 3 Your system is using GNU gcj which is an alternative Java implementation.
The class reported missing is a Sun specific class. The easiest way to fix
would probably be to install the Sun JRE, and make it the default JRE (by
linking /usr/bin/java to the Sun JRE, etc.). |
|