|
[root@localhost ~]# cd /soft/bt
[root@localhost bt]# ./azureus/
bash: ./azureus/: is a directory
[root@localhost bt]# cd azureus/
[root@localhost azureus]# ./azureus
Starting Azureus...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2]
Configuring environment...
Loading Azureus:
java -Xms16m -Xmx128m -cp "/soft/bt/azureus/Azureus2.jar:/soft/bt/azureus/swt.ja r:/soft/bt/azureus/swt-mozilla.jar:/soft/bt/azureus/swt-pi.jar" -Djava.library.p ath="/soft/bt/azureus" -Dazureus.install.path="/soft/bt/azureus" org.gudy.azureu s2.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::Sun May 21 08:54:48 GMT-08:00 2006
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 not found in [file:/soft/bt/azureus/Azureus2.jar, file:/soft/bt/azureus/swt.jar, fi le:/soft/bt/azureus/swt-mozilla.jar, file:/soft/bt/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.
以上是终端信息。我是安照网上的方法安装的
下载一个Bit Torrent客户端软件:
Download Azureus_2.3.0.0_linux.GTK.tar.bz2 ,下载链接:http: //puzzle.dl.sourceforge.net/sourceforge/azureus/Azureus_2.3.0.0_linux.GTK.tar.bz2
3、安装Java虚拟机
由于Azureus使用Java语言编写的所以运行它要Java虚拟机。下载最新的JDK(Java Development Kit)开发包:j2sdk-1_4_2-linux-i586.bin,下载链接:http: //scfie.fie.umich.mx/ftp/Internet_Aplicaciones_y_Lenguajes/Java/Linux/j2sdk -1_4_2-linux-i586.bin这是一个J2SE V1.4.2 SDK Linux自解压的二进制的文件。切换到下载SDK的目录,使这个文件可以执行:
#chmod + j2sdk-1_4_2-linux-i586.bin
把它移动到/usr/local目录下运行:
#mv j2sdk-1_4_2-linux-i586.bin /usr/local
#./j2sdk-1_4_2-linux-i586.bin
下面修改JAVA_HOME环境变更。用vi修改/etc/profile文件,添加以下内容:
JAVA_HOME=/usr/local/j2sdk1.4.2
export JAVA_HOME
/etc/profile文件在Linux系统启动、用户登录使会自动启动。
4、安装Bit Torrent客户端软件Azureus
这是一个绿色软件只要解压即可运行不必编译:
#tar jvxf Azureus-2.3.0.0.linux.tar.bz2
5、运行软件:
#cd azureus
#./azureus |
|