Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   Mandrake 8.2 and 8.1 Guide for an easy installation of LimeWire (https://www.gnutellaforums.com/general-linux-support/11915-mandrake-8-2-8-1-guide-easy-installation-limewire.html)

Calimero44 May 30th, 2002 03:53 PM

Mandrake 8.2 and 8.1 Guide for an easy installation of LimeWire
 
1)Download LimeWire to your home directory. You may want to create a directory for it...
2)When you try to install LimeWire you get the following errors:

Error: Unrecognized JVM specific option `-Xmx50331648'.
Error: Unrecognized JVM specific option `-Xms16777216'.
Invocation java version "1.3.1_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03)
Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError: ZeroGcf
at Zero Gcj.(so urce file unknown:line unknown, pc 0x8d75d74)
at ZeroGb3.a(source file unknown:line unknown, pc 0x8cd9efd)
at com.zerog.ia.installer.Main.a(source file unknown:line unknown, pc 0x8db9531)
at com.zerog.ia.installer.Main.b(source file unknown:line unknown, pc 0x8c7c1c1)
at com.zerog.ia.installer.Main.main(source file unknown:line unknown, pc 0x856ca61)
at java.lang.reflect.Method.invoke(Method.java:native )
at com.zerog.lax.LAX.launch(source file unknown:line unknown, pc 0x82989d6)
at com.zerog.lax.LAX.main(source file unknown:line unknown, pc 0x824f3eb)

You need a newer version Of Java VM. Version
1.3 or 1.4 is ok ...
http://java.sun.com/j2se/1.4/download.html for the 1.4.

3)Download the Linux Red Hat RPM shell script to your home directory.

Open a shell terminal emulator window and go to the directory where is located the downloaded file
(j2re-1_4_0-fcs-linux-i386.rpm)

4)Check the large file that you downloaded to ensure that it is the correct size:

j2re-1_4_0-linux-i386-rpm.bin 21278068 bytes

If the file size doesn't match, it probably means the file was corrupted during download. In that case, try downloading again.

5). Run the installation script and agree to the license it displays.
Launch the installation script by using the following commands from the directory in which it is located:

chmod a+x j2re-1_4_0-linux-i386-rpm.bin

./j2re-1_4_0-linux-i386-rpm.bin

The script will display a binary license agreement, which you will be asked to agree to before installation can proceed. Once you have agreed to the license, the install script will create the file j2re-1_4_0-linux-i386.rpm in the current directory.

6)Become root by running the su command and entering the super-user password.

Uninstall Previous Version
rpm -q kaffe
You version version should be: kaffe-1.0.6-11mdk
rpm -e kaffe-1.0.6-11mdk(Remember the cde su)

7)then go the start menu of KDE then configuration >>packaging>>and open gnoRPM (Use this tool to install this package...

7)You can try this as well to install it:

Run the rpm command to install the packages:

rpm -iv j2re-1_4_0-linux-i386.rpm

This will install the packages comprising the Java 2 Runtime Environment.

Exit the root shell.

8)Now if you try to install LimewireLinux you should get an error saying that it cant find VM on your system.


Type the following line and then you should be able to install LimeWire

export JAVA_HOME=/usr/java/j2re1.4.0
export PATH=$PATH:/usr/java/j2re1.4.0/bin

Now run ./LimewireLinux.bin

Pascal

nDiScReEt June 2nd, 2002 07:35 PM

I Hope This Will Help Others
 
Your suggestion is clear and points out a definite bug in one of the jre's working with LimeWire. In your case, it would be apparent by example that it is jre1.3.1 beta3. I had my suspicions but I hadn't devoted the time to know for certain. Thank you for the confirmation if not ...for at least your and one of my particular cases.

altoine

tek June 8th, 2002 10:06 PM

Got me close, here is what helped me
 
As the previous message points out you have to do the uninstall of kaffe and you can install the newer j2re everything is competely correct, but step 8 reads
-------------- snip ----------------
8)Now if you try to install LimewireLinux you should get an error saying that it cant find VM on your system.
Type the following line and then you should be able to install LimeWire

export JAVA_HOME=/usr/java/j2re1.4.0
export PATH=$PATH:/usr/java/j2re1.4.0/bin
-------------- snip ----------------
I would add that you need to verify that path, ie
ls -al /usr/java/j2re1.4.0/bin
and
ls -al /usr/java/j2re1.4.0

the newer j2re's path can be slightly different and doing as above on one using the newer versions will result in a no VM error still cause the path isnt correct
ie
JAVA_HOME=/usr/lib/jre-1.3.1_02
NOT
JAVA_HOME=/usr/lib/jre-1.3.1

I hope this helps someone as the previous messages helped me get to this point and yes, now i have limewire running on Mandrake 8.2
~ :o)

bennythepitbull June 28th, 2002 10:52 AM

Re: I Hope This Will Help Others
 
Quote:

Originally posted by nDiScReEt
Your suggestion is clear and points out a definite bug in one of the jre's working with LimeWire. In your case, it would be apparent by example that it is jre1.3.1 beta3. I had my suspicions but I hadn't devoted the time to know for certain. Thank you for the confirmation if not ...for at least your and one of my particular cases.

altoine

tHANKS FOR THE HELP ON 8.8

nDiScReEt July 1st, 2002 12:42 AM

Re: Got me close, here is what helped me
 
Quote:

Originally posted by tek
As the previous message points out you have to do the uninstall of kaffe and you can install the newer j2re everything is competely correct, but step 8 reads
-------------- snip ----------------
8)Now if you try to install LimewireLinux you should get an error saying that it cant find VM on your system.
Type the following line and then you should be able to install LimeWire

export JAVA_HOME=/usr/java/j2re1.4.0
export PATH=$PATH:/usr/java/j2re1.4.0/bin
-------------- snip ----------------
I would add that you need to verify that path, ie
ls -al /usr/java/j2re1.4.0/bin
and
ls -al /usr/java/j2re1.4.0

the newer j2re's path can be slightly different and doing as above on one using the newer versions will result in a no VM error still cause the path isnt correct
ie
JAVA_HOME=/usr/lib/jre-1.3.1_02
NOT
JAVA_HOME=/usr/lib/jre-1.3.1

I hope this helps someone as the previous messages helped me get to this point and yes, now i have limewire running on Mandrake 8.2
~ :o)

Congratulations. Installation fixes coming soon. My prior postings concentrated on slightly experienced *nix users. I am better prepared to make the necessary corrections and additions to incorporate beginners as well.

altoine

Unregistered July 9th, 2002 02:35 PM

thanks to...
 
kalimero for his detailed solution.

nDiScReEt July 27th, 2002 04:49 AM

Re: Mandrake 8.2 and 8.1 Guide for an easy installation of LimeWire
 
Quote:

Originally posted by Calimero44
1)Download LimeWire to your home directory. You may want to create a directory for it...
2)When you try to install LimeWire you get the following errors:

Error: Unrecognized JVM specific option `-Xmx50331648'.
Error: Unrecognized JVM specific option `-Xms16777216'.
Invocation java version "1.3.1_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03)
Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError: ZeroGcf
at Zero Gcj.(so urce file unknown:line unknown, pc 0x8d75d74)
at ZeroGb3.a(source file unknown:line unknown, pc 0x8cd9efd)
at com.zerog.ia.installer.Main.a(source file unknown:line unknown, pc 0x8db9531)
at com.zerog.ia.installer.Main.b(source file unknown:line unknown, pc 0x8c7c1c1)
at com.zerog.ia.installer.Main.main(source file unknown:line unknown, pc 0x856ca61)
at java.lang.reflect.Method.invoke(Method.java:native )
at com.zerog.lax.LAX.launch(source file unknown:line unknown, pc 0x82989d6)
at com.zerog.lax.LAX.main(source file unknown:line unknown, pc 0x824f3eb)

You need a newer version Of Java VM. Version
1.3 or 1.4 is ok ...
http://java.sun.com/j2se/1.4/download.html for the 1.4.

3)Download the Linux Red Hat RPM shell script to your home directory.

Open a shell terminal emulator window and go to the directory where is located the downloaded file
(j2re-1_4_0-fcs-linux-i386.rpm)

4)Check the large file that you downloaded to ensure that it is the correct size:

j2re-1_4_0-linux-i386-rpm.bin 21278068 bytes

If the file size doesn't match, it probably means the file was corrupted during download. In that case, try downloading again.

5). Run the installation script and agree to the license it displays.
Launch the installation script by using the following commands from the directory in which it is located:

chmod a+x j2re-1_4_0-linux-i386-rpm.bin

./j2re-1_4_0-linux-i386-rpm.bin

The script will display a binary license agreement, which you will be asked to agree to before installation can proceed. Once you have agreed to the license, the install script will create the file j2re-1_4_0-linux-i386.rpm in the current directory.

6)Become root by running the su command and entering the super-user password.

Uninstall Previous Version
rpm -q kaffe
You version version should be: kaffe-1.0.6-11mdk
rpm -e kaffe-1.0.6-11mdk(Remember the cde su)

7)then go the start menu of KDE then configuration >>packaging>>and open gnoRPM (Use this tool to install this package...

7)You can try this as well to install it:

Run the rpm command to install the packages:

rpm -iv j2re-1_4_0-linux-i386.rpm

This will install the packages comprising the Java 2 Runtime Environment.

Exit the root shell.

8)Now if you try to install LimewireLinux you should get an error saying that it cant find VM on your system.


Type the following line and then you should be able to install LimeWire

export JAVA_HOME=/usr/java/j2re1.4.0
export PATH=$PATH:/usr/java/j2re1.4.0/bin

Now run ./LimewireLinux.bin

Pascal

When in Chicago, the drinks are on me.

Aeroe July 28th, 2002 03:00 PM

whoa... you call that easy?
:)

1. shell
2. su
3. kate /etc/bashrc
4. added "PATH=$PATH:/usr/java/jre1.4.0/bin"
or whatever directory java is.
5. restarted kde, checked by typing "java -version" in the shell.

well of course that's after jre is installed.

nDiScReEt July 28th, 2002 11:10 PM

Much Better
 
Quote:

Originally posted by Aeroe
whoa... you call that easy?
:)

1. shell
2. su
3. kate /etc/bashrc
4. added "PATH=$PATH:/usr/java/jre1.4.0/bin"
or whatever directory java is.
5. restarted kde, checked by typing "java -version" in the shell.

well of course that's after jre is installed.

Your funny! LoL

cadzilla August 16th, 2002 11:46 AM

It works!
 
Thanks Calimero44, I have been all through these posts in this forum trying to figure out how to get the install to find the elusive VM machine it says can't find. And there have been a great many posts on how to edit your bash profile or which java commands but I am an ex-windows point and click user, NB to linux and I don't always understand these commands you folks talk about but when i see explicit examples such as yours it does help!! I had previously installed java 1.3.1_04 as a rpm package. And that went fine. I even found the location /usr/java/jre1.3.1_04 . But I know diddly about editing my bash_profile to create a link or whatever was needed to show LimeWireLinux.bin where the VM machine was. But your example was a great help for me.
------------------------snip------------------------------
Type the following line and then you should be able to install LimeWire

export JAVA_HOME=/usr/java/j2re1.4.0
export PATH=$PATH:/usr/java/j2re1.4.0/bin

Now run ./LimewireLinux.bin
------------------------snip------------------------------
I am running Mandrake 8.2 and have java 1.3.1_04 Installed so I entered a terminal window and cd into the directory where i downloaded LimeWireLinux.bin ,then modified your example to look like this...
export JAVA_HOME=/usr/java/jre1.3.1_04
export PATH=$PATH:/usr/java/jre1.3.1_04/bin
sh ./LimeWireLinux.bin

And finally success!

Brennan


All times are GMT -7. The time now is 03:55 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.