Azureus无法运行,java升级了也没用
[root@localhost azureus]# ./azureusStarting Azureus...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2]
Configuring environment...
Loading Azureus:
java -Xms16m -Xmx128m -cp "/home/azureus/Azureus2.jar:/home/azureus/swt.jar:/hom e/azureus/swt-mozilla.jar:/home/azureus/swt-pi.jar" -Djava.library.path="/home/a zureus" -Dazureus.install.path="/home/azureus" org.gudy.azureus2.ui.swt.Main ''
Warning: -Xms16m not understood. Ignoring.
Warning: -Xmx128m not understood. Ignoring.
java.nio.charset.UnsupportedCharsetException
at java.nio.charset.Charset.forName(java.lang.String) (/usr/lib/libgcj.so.5.0 .0)
at org.gudy.azureus2.core3.util.BEncoder.BEncoder() (Unknown Source)
at org.gudy.azureus2.core3.util.BEncoder.encode(java.util.Map) (Unknown Sourc e)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientConfigFile(java.lang.S tring, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save(java.lang.St ring) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save() (Unknown S ource)
at org.gudy.azureus2.core3.config.COConfigurationManager.save() (Unknown Sour ce)
at org.gudy.azureus2.core3.util.AEDiagnostics.startup() (Unknown Source)
at org.gudy.azureus2.core3.util.AEDiagnostics.getLogger(java.lang.String) (Un known Source)
at org.gudy.azureus2.core3.util.Debug.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at org.gudy.azureus2.core3.util.BEncoder.BEncoder() (Unknown Source)
at org.gudy.azureus2.core3.util.BEncoder.encode(java.util.Map) (Unknown Sourc e)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientConfigFile(java.lang.S tring, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save(java.lang.St ring) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save() (Unknown S ource)
at org.gudy.azureus2.core3.config.COConfigurationManager.save() (Unknown Sour ce)
at org.gudy.azureus2.core3.config.impl.ConfigurationChecker.checkConfiguratio n() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.initialise() (Unk nown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance() (Un known Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.initialise() (Unknow n Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.AzureusCoreImpl() (Unknown S ource)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.create() (Unknown Source)
at com.aelitis.azureus.core.AzureusCoreFactory.create() (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.Main(java.lang.String[]) (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.main(java.lang.String[]) (Unknown Source)
DEBUG::Sat Jul 02 23:45:57 GMT-08:00 2005
java.nio.charset.UnsupportedCharsetException
at java.nio.charset.Charset.forName(java.lang.String) (/usr/lib/libgcj.so.5.0 .0)
at org.gudy.azureus2.core3.util.BEncoder.BEncoder() (Unknown Source)
at org.gudy.azureus2.core3.util.BEncoder.encode(java.util.Map) (Unknown Sourc e)
at org.gudy.azureus2.core3.util.FileUtil.writeResilientConfigFile(java.lang.S tring, java.util.Map) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save(java.lang.St ring) (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.save() (Unknown S ource)
at org.gudy.azureus2.core3.config.COConfigurationManager.save() (Unknown Sour ce)
at org.gudy.azureus2.core3.config.impl.ConfigurationChecker.checkConfiguratio n() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.initialise() (Unk nown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance() (Un known Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.initialise() (Unknow n Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.AzureusCoreImpl() (Unknown S ource)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.create() (Unknown Source)
at com.aelitis.azureus.core.AzureusCoreFactory.create() (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.Main(java.lang.String[]) (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.main(java.lang.String[]) (Unknown Source)
Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class : org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so. 5.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at org.gudy.azureus2.core3.security.SESecurityManager.initialise() (Unknown S ource)
at org.gudy.azureus2.core3.config.impl.ConfigurationChecker.setSystemProperti es() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.initialise() (Unk nown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance() (Un known Source)
at org.gudy.azureus2.core3.config.COConfigurationManager.initialise() (Unknow n Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.AzureusCoreImpl() (Unknown S ource)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.create() (Unknown Source)
at com.aelitis.azureus.core.AzureusCoreFactory.create() (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.Main(java.lang.String[]) (Unknown Source)
at org.gudy.azureus2.ui.swt.Main.main(java.lang.String[]) (Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.net.ssl.KeyManagerFactory notfound in [file:/home/azureus/Azureus2.jar, file:/home/azureus/swt.jar, file:/ho me/azureus/swt-mozilla.jar, file:/home/azureus/swt-pi.jar, file:/usr/share/java/ libgcj-3.4.3.jar, file:./, core:/]
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5. 0.0)
at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj .so.5.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgc j.so.5.0.0)
at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5. 0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at _Jv_BytecodeVerifier.type.compatible(_Jv_BytecodeVerifier.type&, _Jv_Bytec odeVerifier) (/usr/lib/libgcj.so.5.0.0)
at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5. 0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so. 5.0.0)
...12 more
Azureus TERMINATED.
如上所示,可是我已经安装了j re 1.5.0.04,是从sun 网站上下的r p m 偶和你一样,偶的是fc4,你呢???我估计是fc4中的有些库文件太新了,azureus认不出来
等吧等支持fc4的 azureus出来吧
同病相连 :neutral::neutral::neutral::neutral::neutral::neutral::wink::wink::wink::wink::wink::wink::wink::wink::wink::wink::wink: 我的是r he l 4(bt D下来尝鲜)
现在这个系统搞到现在连mplayer都没安上,我都快疯了 编辑azureus,将java/bin和java(你的j2re绝对路径)直接加到相应处试试 fc4默认安装了gcj.....lumaqq和azureus都运行不了的
可以直接export JAVA_HOME=/your/javapath...写在脚本前面 编辑azureus,将java/bin和java(你的j2re绝对路径)直接加到相应处试试
我试过了,没用,还是那些信息
fc4默认安装了gcj.....lumaqq和azureus都运行不了的
可以直接export JAVA_HOME=/your/javapath...写在脚本前面
能麻烦说详细一点吗,放假才接触的linux,不太明白 装jdk1.5版本,从提示来看, azureus所使用的仍然是系统自带的1.4.2,你需要导出安装的jdk1.5的路径和库文件路径.需要在/etc/profile.d/目录下建立java.sh文件,内容如下.
JAVA_HOME=/usr/java/jdk1.5.0_04
PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar
export PATH JAVA_HOME CLASSPATH
如果是其它版本的话稍微改一下. 都说楼主用的是gcj啦。。
去www.java.com下载一个jre
推荐把gcj卸了。。。 fc4的有个更简单的方法
装上java.sun.com的jre或jdk
然后运行一下两条指令就可以了
/usr/sbin/alternatives --install /usr/bin/java java /usr/java/../bin/java 2(...为jre或jdk的文件名)
/usr/sbin/alternatives --config java
出现如下提示
# /usr/sbin/alternatives --config java
There are 2 programs which provide 'java'.
Selection Command
-----------------------------------------------
*1 /usr/share/java/libgcj-java-placeholder.sh
+ 2 /usr/java/jdk1.5.0_04/bin/java
Enter to keep the current selection[+], or type selection number:
然后选择你安装那个就可以了(一般是2) 太感谢KevinChenLinux了 !!!
今天我为它费了俩小时看到你的贴子 一下子就成功了
页:
[1]