LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Azureus problem on fc4 (https://www.linuxquestions.org/questions/linux-newbie-8/azureus-problem-on-fc4-335033/)

morneo 06-18-2005 10:25 PM

Azureus problem on fc4
 
Hi Y'all
I am trying to run azureus on fc4 and getting the following message. Can anyone help with the problem?

Thanks

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/kiran/azureus/Azureus2.jar:/home/kiran/azureus/swt.jar:/home/kiran/azureus/swt-mozilla.jar:/home/kiran/azureus/swt-pi.jar" -Djava.library.path="/home/kiran/azureus" -Dazureus.install.path="/home/kiran/azureus" org.gudy.azureus2.ui.swt.Main ''
DEBUG::Sat Jun 18 23:18:24 EDT 2005
java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/kiran/azureus/Azureus2.jar,file:./,file:/home/kiran/azureus/swt.jar,file:/home/kiran/azureus/swt-mozilla.jar,file:./,file:/home/kiran/azureus/swt-pi.jar], 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)
at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
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.config.COConfigurationManager.initialise() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.AzureusCoreImpl() (Unknown Source)
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)
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)

DEBUG::Sat Jun 18 23:18:25 EDT 2005
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.config.COConfigurationManager.initialise() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.AzureusCoreImpl() (Unknown Source)
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)
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)

DEBUG::Sat Jun 18 23:18:25 EDT 2005
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.config.COConfigurationManager.initialise() (Unknown Source)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.AzureusCoreImpl() (Unknown Source)
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)
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)

DEBUG::Sat Jun 18 23:18:25 EDT 2005::com.aelitis.azureus.core.networkmanager.VirtualServerChannelSelector::start()::-1:
IncomingSocketChannelManager::start()::-1,IncomingSocketChannelManager::IncomingSocketChannelManager()::-1,NetworkManager::NetworkManager()::-1,NetworkManager::<clinit>()::-1,Class::initializeClass()::-1,AzureusCoreImpl::AzureusCoreImpl()::-1,AzureusCoreImpl::create()::-1,AzureusCoreFactory::create()::-1,Main::Main(java.lang.String[])::-1,Main::main(java.lang.String[])::-1,MainThread::call_main()::-1,MainThread::run()::-1
java.net.BindException: Address already in use
at gnu.java.net.PlainSocketImpl.bind(java.net.InetAddress, int) (/usr/lib/libgcj.so.6.0.0)
at java.net.ServerSocket.bind(java.net.SocketAddress, int) (/usr/lib/libgcj.so.6.0.0)
at com.aelitis.azureus.core.networkmanager.VirtualServerChannelSelector.start() (Unknown Source)
at com.aelitis.azureus.core.networkmanager.impl.IncomingSocketChannelManager.start() (Unknown Source)
at com.aelitis.azureus.core.networkmanager.impl.IncomingSocketChannelManager.IncomingSocketChannelManag er() (Unknown Source)
at com.aelitis.azureus.core.networkmanager.NetworkManager.NetworkManager() (Unknown Source)
at com.aelitis.azureus.core.networkmanager.NetworkManager.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at com.aelitis.azureus.core.impl.AzureusCoreImpl.AzureusCoreImpl() (Unknown Source)
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)
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)
StartSocket: passing startup args to already-running Azureus java process.
./azureus: line 107: 18974 Aborted ${JAVA_PROGRAM_DIR}java -Xms16m -Xmx128m -cp "${CLASSPATH}" -Djava.library.path="${PROGRAM_DIR}" -Dazureus.install.path="${PROGRAM_DIR}" org.gudy.azureus2.ui.swt.Main "$@"
Azureus TERMINATED.

linux-rulz 06-19-2005 06:43 AM

Java 1.5 is recommended for Azureus. Try uninstalling 1.4 and downloading the latest java from www.java.com.

An even newer Java is available at java.sun.com

Dummy-in-Linux 06-20-2005 06:29 AM

I have Sun JRE 1.5_03 installed and get the same error......

The Java works for all other programs.......

linux-rulz 06-20-2005 02:57 PM

How did you go about installing Azureus?

morneo 06-20-2005 06:11 PM

I uninstalled java 1.4 and installed 1.5 but azureus still seems to pick up java 1.4 and now it goes into a loop without doing anything other than just opening the splash screen of azureus

linux-rulz 06-20-2005 06:51 PM

OK, how did you install Azureus? Did it come with Fedora?

How did you install Java 1.4?

How did you uninstall Java 1.4?

How did you install Java 1.5/5.0/whatever version number Sun wants to pull out of its hat?

If Azureus came bundled with Fedora, it may have been compiled with GCJ, and not use a JRE at all.

morneo 06-21-2005 12:16 AM

I downloaded azureus from the sourceforge website and tried doing ./configure.
i dont remember installing java1.4(or maybe i did) or it might have come with fedora.
i uninstalled java 1.4 by using rpm -e --nodeps
installed java 1.5 using rpm -iv

well my firefox browser shows that i have the latest version which is java1.5 when i check it on the java website.

linux-rulz 06-21-2005 01:08 AM

OK, remove azureus and all traces of azureus from your system and follow these steps.

Download the azureus tarball from here. Make sure it is the Linux-GTK one, not the Linux-Motif one.

run these commands

tar -xvjf Azureus_2.3.0.2_linux.GTK.tar.bz2
log in as root with su here
chown -R root:root azureus/
mv azureus /usr/local
cd /usr/local/bin
fire up your favourite (I'm Canadian and this is how we spell it :p ) text editor and put this as the file :

Code:

#!/bin/bash
cd /usr/local/azureus
./azureus

Make sure you include the empty line at the end of the file.

Now save that file as /usr/local/bin/azureus
You should be in /usr/local/bin at the command line right now, if not go there
chmod +x azureus

Now close the terminal window, open a new one, and type in :

azureus

And tell me what happens

morneo 06-22-2005 10:20 AM

I got the problem fixed. Thank You linux-rulz.

I did what you said. But it kept giving me the same error. Than i looked up again for any traces of java1.4.2 and found that it was still present on the system. I uninstalled java1.4.2 completely and followed your instructions again and it worked.

nicksmart234 06-28-2005 12:04 PM

i too have the same problem but am not able to get rid of java. how do i do that? i don't even know where it is installed.

linux-rulz 06-28-2005 05:09 PM

Quote:

i too have the same problem but am not able to get rid of java. how do i do that? i don't even know where it is installed.
Please post the output of the following commands

which java

rpm -q jre

If the second command lists an installed rpm, then this command should remove it

rpm -e jre

clucas 07-03-2005 12:03 PM

When I type rpm -q jre it shows: jre-1.5.0_04-fcs.

Yet when I try to install Azureus I get at the beginning:
Starting Azureus...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2]

Then it gets stuck in a loop as shown above.

I guess I have remnants of JRE 1.4? So how do I get rid of them.

By the way, linux-rulz, I followed your instructions exactly.

linux-rulz 07-03-2005 06:09 PM

Did you try this command I posted in my last comment?

which java <---This is actually the command, not me asking you a question :p Please post the output

Another thing you could try is

rpm -e jre
updatedb
locate java

and this will tell you where the files are being left. delete them and then reinstall java 1.5.

clucas 07-03-2005 10:28 PM

That did it! What I mean is the "which java". It got me to search around and I got rid of 1.4.2 and then reinstalled 1.5. All's well. Thanks!

linux-rulz 07-03-2005 10:40 PM

Awesome! Glad you got it working :)

As a side note, where did u originally install Java from? If it was Dag's repos, don't use the Java packages he has there. They tend to not work (at least that is my experience from them).


All times are GMT -5. The time now is 10:35 AM.