Re: Azureus
- From: Handover Phist <jason@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 05 Mar 2007 19:13:40 GMT
Hactar said "Re: Azureus"
In article <slrneumak7.ead.jason@xxxxxxxxxxxxxxxxxxxxxx>,
Handover Phist <jason@xxxxxxxxxxxxxxxxxxxxxx> wrote:
Hactar said "Azureus"
Jeez, that's deep enough. (There's gij!) But:
eben@pc:~$ java tmp/Azureus2.5.0.4.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
tmp/Azureus2.5.0.4.jar
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: tmp/Azureus2.5.0.4.jar
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)
So, what do I do now?
There should be a shell script simply named 'azureus' that will run the
program for you. If all you have is a single jar file, I think you got
the wrong thing:
Yup, sho did. OK, tried again and this time I got the appropriate tar.bz2.
Dunno why they offer the naked jar file. I see this when I run it:
Starting Azureus...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2]
Configuring environment...
Loading Azureus:
java -Xms16m -Xmx128m -cp
"/home/eben/src/azureus/Azureus2.jar:/home/eben/src/azureus/swt.jar"
-Djava.library.path="/home
DEBUG::Sun Mar 04 21:44:00 EST 2007::org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl::initialise()::-1:No SSL provider available
SESecurityManager::initialise()::-1,ConfigurationChecker::setSystemProperties()::-1,ConfigurationManager::initialise(DEBUG::Sun Mar 04 21:44:00 EST 2007::org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl::ensureStoreExists(java.java.security.KeyStoreException: JKS
at java.security.KeyStore.getInstance(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl.ensureStoreExists(java.lang.String) (Unknown Source)
at org.gudy.azureus2.core3.security.impl.SESecurityManagerImpl.initialise() (Unknown Source)
at org.gudy.azureus2.core3.security.SESecurityManager.initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationChecker.setSystemProperties() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.initialise() (Unknown Source)
at org.gudy.azureus2.core3.config.impl.ConfigurationManager.getInstance() (Unknown Source)
at org.gudy.azureus2.core3.logging.impl.LoggerImpl.init() (Unknown Source)
at org.gudy.azureus2.core3.logging.Logger.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at org.gudy.azureus2.ui.swt.StartServer.StartServer() (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)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
and lots of other DEBUG messeges. The key, I think, is where it says
"java = 1.4.2". The only link I see under "Download Latest Java JRE (1.5)"
is "Windows Vista users, please get java (only the JRE) here". I don't
run any Billware on this computer, but I went there anyway just to see,
and got a file named "jre-6-linux-i586.bin". (6? Where'd 6 come from?)
It installed a 97 MB /root/jre1.6.0 (so nice of it to ask me where I
wanted it); where do I need to be when I invoke it? (Moving
~root/jre1.6.0 to /usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0 and making a
link "jre" to it didn't help, FWIW.)
What distro are you using. You may be able to fix this using apt-get
(Debian/Ubuntu) or whatever RedHat is using nowadays.
If you're installing Java by hand you'll need to make sure the java
executable is in your path. In the case you've stated above you might
want to add '/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0' to your $PATH. I'm
guessing at this point since I haven't needed to install java by hand
for a very long time. I did once when Limewire needed it and made this
shell script:
-----------
#!/bin/bash
cd /home/jason/bin/LimeWire
/home/jason/bin/jre1.6.0/bin/java -jar /home/jason/bin/LimeWire/LimeWire.jar
-----------
This invokes Limewire with the new Java, and doesn't break anything in
the system. HTH.
--
This signature intentionally left blank
http://www.websterscafe.com
.
- References:
- Azureus
- From: Hactar
- Re: Azureus
- From: Handover Phist
- Re: Azureus
- From: Hactar
- Azureus
- Prev by Date: Re: Upgrading Firefox, now it refuses to run
- Next by Date: Re: Azureus
- Previous by thread: Re: Azureus
- Next by thread: Re: Azureus
- Index(es):
Relevant Pages
|