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 July 24th, 2002
Unregistered
Guest
 
Posts: n/a
Default MDK JAVA 1.4 INSTALL Procedure.

Thanks to Calimero44, I have installed Java. I have updated the procedure on doing this for MDK 8.2. As soon as I finish installing it for mozilla 1.0, I will update this again.

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.
http://java.sun.com/j2se/1.4/download.html for the 1.4.

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

Open a shell terminal emulator window and go to the directory where the
downloaded file is located.

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

chsum j2re-1_4_0_01-linux-i586-rpm.bin

Should see something like this:

2981620438 21300192 j2re-1_4_0_01-linux-i586-rpm.bin

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

5) Run the installation script and agree to the license.
Launch the installation script by using the following commands from the
directory in which it is located:
home directory
chmod a+x j2re-1_4_0_01-linux-i586-rpm.bin

sh j2re-1_4_0_01-fcs-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_01-fcs-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 to su root)

7) Then go the start menu of KDE then configuration -> packaging -> and open either
gnoRPM or rpmdrake.

8) You can use this as well to install Java from a console:

Run the rpm command to install the packages:

rpm -iv j2re-1_4_0_01-fcs-linux-i386.rpm

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

Exit the root shell.

9) 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_01
export PATH=$PATH:/usr/java/j2re1.4.0_01/bin

On some systems, the above lines will have to be added into the /etc/bashrc
file.

Now run ./LimewireLinux.bin
Reply With Quote
  #2 (permalink)  
Old July 27th, 2002
nDiScReEt's Avatar
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default A Few Corrections

10. chsum is actually cksum.

2). rpm -e kaffe should actually be rpm -e --nodeps kaffe. This is necsarry because certain mandrake wizards and openoffice may cause dependency errors with good reason. They require java to function at 100%.

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

I didn't think that this would work.But to be on the safe side, the path should be created like this:

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

JAVA_HOME needs to be first as this will prevent any conflicts with other java packages (for those whom do development with java like myself).[COLOR=skyblue][COLOR=skyblue][COLOR=skyblue][COLOR=skyblue]

Great work and this lessons one instructional step for me to provide.

All that is left is tarball instructions.

altoine

Last edited by nDiScReEt; July 27th, 2002 at 03:25 AM.
Reply With Quote
  #3 (permalink)  
Old July 31st, 2002
Apprentice
 
Join Date: July 31st, 2002
Location: Minneapolis,MN
Posts: 9
OTazman is flying high
Question I did everything you said and it still don't work...

I did everything you said but one thing was different, it said that kaffe was not installed, so I continued to follow the easy steps and still said I nned to install a VM on my computer.. so what next?


Thanks in advance,
Sean Dolan
Reply With Quote
  #4 (permalink)  
Old July 31st, 2002
nDiScReEt's Avatar
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default Re: I did everything you said and it still don't work...

Quote:
Originally posted by OTazman
I did everything you said but one thing was different, it said that kaffe was not installed, so I continued to follow the easy steps and still said I nned to install a VM on my computer.. so what next?


Thanks in advance,
Sean Dolan
[COLOR=skyblue][COLOR=royalblue]

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

Is /usr/java/j2re1.4.0_01 really the path to your java version?

To test type:

which java

Do you get any output?
If you get output, that should be what goes after JAVA_HOME.
In the second export command (PATH), is JAVA_HOME referenced as #JAVA_HOME or JAVA_HOME as the $, dollar sign, is needed in the second export line not the first.
In the second line, is $JAVA_HOME/bin followed directly by $PATH with no :, colon, or is it followed with a :, colon ($JAVA_HOME/bin:$PATH)?
It needs to be followed by a :, colon.

Did you make sure that when you exported JAVA_HOME, you made sure the cases matched? (As it is case sensitive --for the newbies)

I postulate that one of the above questions will answer and solve your problem.

altoine[FONT=arial][FONT=arial][FONT=arial][FONT=arial]

Last edited by nDiScReEt; July 31st, 2002 at 11:42 PM.
Reply With Quote
  #5 (permalink)  
Old August 1st, 2002
Apprentice
 
Join Date: July 31st, 2002
Location: Minneapolis,MN
Posts: 9
OTazman is flying high
Talking OK I GOT IT =)

The export command wasn't working prolly cuz I was doing it wrong, so I did a 'vi' command on the .bash_profile and tried to edit it that way but I didn't know any of the commands, so I opened the .bash_profile in 'KATE' (advanced text editor) anyways I added the export commands under the other export command that was already there, and saved it logged in and out did a 'which java' command and bodda bing bodda boom it was there, I also did a 'java -version' command and that also worked too, so I was very delighted, so I did the 'sh' command on the LimeWireLinux.bin and it installed it with some errors that didn't seem to effect the installation process... hmmm.. ok so just wanted you to stop boggling your minds thanks for the help =)


-peace SED
Reply With Quote
  #6 (permalink)  
Old August 3rd, 2002
nDiScReEt's Avatar
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default Re: OK I GOT IT =)

Quote:
Originally posted by OTazman
The export command wasn't working prolly cuz I was doing it wrong, so I did a 'vi' command on the .bash_profile and tried to edit it that way but I didn't know any of the commands, so I opened the .bash_profile in 'KATE' (advanced text editor) anyways I added the export commands under the other export command that was already there, and saved it logged in and out did a 'which java' command and bodda bing bodda boom it was there, I also did a 'java -version' command and that also worked too, so I was very delighted, so I did the 'sh' command on the LimeWireLinux.bin and it installed it with some errors that didn't seem to effect the installation process... hmmm.. ok so just wanted you to stop boggling your minds thanks for the help =)


-peace SED
You are a great guy, SED!

Not many people will post their solutions after arriving at them. You keep up the good work! Much love.

altoine
Reply With Quote
  #7 (permalink)  
Old August 11th, 2002
nDiScReEt's Avatar
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default Re: this does not works with J2sdk1.4 in my case

Quote:
Originally posted by astra
I made all what you described
but with the J2sdk1.4 instead of JRE.
I still have a problem.

[j@jerome bin]$ ./LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Error: Unrecognized JVM specific option `-Xmx50331648'.
Error: Unrecognized JVM specific option `-Xms16777216'.
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError: ZeroGcf
at ZeroGcq.a(source file unknown:line unknown, pc 0x874e049)
at ZeroGcj.<init>(source file unknown:line unknown, pc 0x86d8d74)
at ZeroGcq.<init>(source file unknown:line unknown, pc 0x86fb8a9)
at ZeroGb3.a(source file unknown:line unknown, pc 0x86fe907)
at com.zerog.ia.installer.Main.a(source file unknown:line unknown, pc 0x86a44a5)
at com.zerog.ia.installer.Main.b(source file unknown:line unknown, pc 0x86481c1)
at com.zerog.ia.installer.Main.main(source file unknown:line unknown, pc 0x85b6281)
at java.lang.reflect.Method.invoke(Method.java:native )
at com.zerog.lax.LAX.launch(source file unknown:line unknown, pc 0x82ad9d6)
at com.zerog.lax.LAX.main(source file unknown:line unknown, pc 0x825ebcb)
[j@jerome bin]$ java -version
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
[j@jerome bin]$ echo $JAVA_HOME
/usr/java/j2sdk1.4.0
[j@jerome bin]$
Remove kaffe.

altoine

P.S. rpm -e --nodeps kaffe
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
i need help; LW says please install the new version of java after installing Java Logan_2468 Windows 7 October 5th, 2009 11:07 PM
Freeze on Install (JAVA) I have Java!! foxykid15 Windows 2 December 17th, 2005 12:15 PM
Logoff Procedure andy1 Chat - Open Topics - The Lounge 1 April 10th, 2005 08:07 AM
Next Procedure Please pejv1969 General Windows Support 3 August 27th, 2004 08:54 AM
procedure please actortax General Windows Support 1 August 2nd, 2002 04:15 AM


All times are GMT -7. The time now is 03:30 PM.


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.