Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   Running LimeWire under SuSE-Linux (https://www.gnutellaforums.com/general-linux-support/3585-running-limewire-under-suse-linux.html)

Unregistered September 11th, 2001 06:32 PM

Running LimeWire under SuSE-Linux
 
Hi Volk.
So, it seems so that many people have problems to run LimeWire under SuSE Linux with the original JDK1.1.8.
The answer is very simple. LimeWire does not work with this Runtime. So you must install a newer version of the Java-Runtime.

You have the possibility to download it from Sun or IBM, or simple take the newer Runtime from your original SuSE-Installation-CD. You can find it in the "pay"-section (i don't know if this location also fit for SuSE-Version befor 7.0).
There you can find the IBMjava2-SDK1.3 and the SunJava2-SDK. These pakages also includes the JRE, but they are needet for the next steps. Only the JRE won't be enought.
Which pakage you prefere, it is up to you. Both are version 1.3.0, and that is new enough for LimeWire. I personaly prefere the IBM-version. You only need once.

So, lets bring your SuSE to work all the time and not only for LimeWire with the newer Java Developer Kit.

First a smal excursion about Java and SuSE.
If you make any Java-requests on your system, the systempath therefor is /usr/lib/java. That is not a directory, it is a symbolical link that points on the Java Developer Kit your system use. So we have to modify this link to the newer version of your Runtime:

All the following steps must be done as root:

For SuSE 7.2 there is a very simple an effektiv way to do that (not perfekt, but it will work):
1. Go to the directory /usr/lib and rename your original symbolical Java-link (that points on the jdk1.1.8) from "java" e.g. to "java-1.1.8" or simple remove it.
2. create with "ln -s /usr/lib/jdk1.3 /usr/lib/java" a new link on the newer Java Developer kit
3. you have to modify the rc.config (you can do that e.g. with yast under Administration -> change configuration). There you have to set the entry "create_javalink" to NO. Otherwise SuSEconfig will restore the original link the next time it runs.
That it is for SuSE 7.2

For all versions of SuSE:
1. change to /sbin/conf.d/ and open with an editor the file "SuSEconfig.alljava"
2. Find the following line:
JAVALINKTO=`rpm -q java java2 IBMJava2-SDK ibmjava2 2>/dev/null | sed s,-[^-]*-[^-]*$,,g | head -n 1`

Simple explaind: Here SuSEconfig is told, which JDK to prefere. "java" stands here for the JDK1.1.8, "java2" for the Sun1.3, "IBMJava2-SDK" for the IBM1.3 ....
So simple remove the first entry "java" from this line and when you only have installed one of the newer SDK-Pakages, it is enough. If you have installed both pakages, the system will first take the "Sun" and than "IBM". You can change the direction if you want.
So, it has to look something like this:
JAVALINKTO=`rpm -q java2 IBMJava2-SDK ibmjava2 2>/dev/null | sed s,-[^-]*-[^-]*$,,g | head -n 1`

If you use the IBM-pakage, you also have to remove the "javarunt"-entry from the next line, the "JRELINKTO=..."

3. Copy a file called ".java_wrapper" from "/usr/lib/jdk1.1.8/bin" to your new SDK-bin-directory, normaly "/usr/lib/jdk1.3/bin"

4. Run "SuSEconfig" and the system will create the new Java-link and will further use the newer JDK each time ;)

Now you can change in the directory where you have extracted LimeWire and can run it by using "sh runlime.sh" or simple "runlime.sh"
That it is.

Hope it will help some people (and sorry for my english).

Tequila

SuSEpenguin September 11th, 2001 08:03 PM

this is how i did SuSE 7.2 & limewire
 
LimeWire and SuSE Linux HOW-TO
---------------------------------

1. make sure that Java2TM Runtime Environment, v 1.3.1 is installed.if not, go to:
http://java.sun.com/j2se/1.3/jre/
and download j2re-1_3_1-linux-i386-rpm.bin (size = 14,842,795 bytes)
A. unpack bin file with command: sh j2re-1_3_1-i386-rpm.bin
B. unpack rpm file with command: rpm -ivh jre-1.3.1.i386.rpm

2. Install Limewire
unzip/untar the downloaded file from limewire.com - whatever directory you are
currently in is where a new subdirectory LimeWire will be created.
A. locate your path to the java executable. my current path (as of 9/10/2001) is:
/usr/java/jre1.3.1_01/bin/java
B. cd to the new LimeWire dir. open runlime.sh with any text editor. the line that
reads: "java -classpath . RunLime" needs to be either commented out with a #
and a new line added or edited to read: "/your/path/to/java -classpath . RunLime"
##!NOTE!## don't literally type "/your/path/to/java..." but use the location you
found earlier in step 2.A
be sure to save the modifications.

3. Run Limewire
open a shell and at the prompt type: "sh runlime.sh"
it should fire up if everything else was successful
happy filesharing and please do share your files!

---------------------------------
created by penguin 8/30/2001
edited by penguin 9/10/2001
penguin@cox-internet.com

Unregistered September 12th, 2001 01:29 AM

Oh, i forgot something to say ...
 
There are updates for the Java2-SDK and the IBMjava2-SDK-pakages on the SuSE ftp-server.
Please use your online-update-function in Yast2 or simple get it from the ftp. This is only nesessary, if LimeWire won't start.

You can check wich version of Java your SuSE now use by typing "java -version".

Tequila

Unregistered September 24th, 2001 07:20 AM

It worked for me, thank's guy's........


All times are GMT -7. The time now is 05:49 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.