Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Technical Support > General Linux Support
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Linux Support For questions regarding use of LimeWire or WireShare or related questions on the Linux operating system. This includes installation questions and answers. (Check the Stickies marked in Red at top of this section.)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 11th, 2001
Unregistered
Guest
 
Posts: n/a
Talking 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
Reply With Quote
  #2 (permalink)  
Old September 11th, 2001
Junior Penguin
 
Join Date: September 5th, 2001
Location: home
Posts: 10
SuSEpenguin is flying high
Default 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
Reply With Quote
  #3 (permalink)  
Old September 12th, 2001
Unregistered
Guest
 
Posts: n/a
Lightbulb 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
Reply With Quote
  #4 (permalink)  
Old September 24th, 2001
Unregistered
Guest
 
Posts: n/a
Default

It worked for me, thank's guy's........
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install LimeWire on SUSE Linux 9.1 calabruy General Linux Support 2 January 19th, 2005 04:44 PM
get java error when trying to excute LimeWire 1.8 in SuSE Linux 7.1 Pro. w/KDE 2.0.1 Unregistered General Linux Support 8 November 30th, 2001 02:32 PM
Limewire 1.7 and SuSE linux 7.2 Unregistered General Linux Support 7 October 9th, 2001 11:18 AM
Cant run Limewire on SuSE Linux 7.2 cravinkel General Linux Support 2 July 20th, 2001 09:24 AM
confused (LimeWire and SuSE Linux 7.1) HerrBinomi General Linux Support 1 March 2nd, 2001 09:26 PM


All times are GMT -7. The time now is 03:42 AM.


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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.