LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2004, 08:05 PM   #1
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Rep: Reputation: 31
help installing limewire?


i tried installing apollon with no success so i've decided to move on to limewire. i already downloaded jre2 and installed it, i think i did. it asked to accept the terms , i said yes and did not get any errors. are there any more steps to completely install jre2? im running redhat 9.
i noticed the limewire is a .bin file, im still not familiar with those files. would anyone walk me to the necessary steps to succesfully install limewire so i can download some music and videos. i hate having to boot to xp just to download mp3 or mpegs, thanks in advance
 
Old 05-06-2004, 09:36 PM   #2
hoopyfrood
Member
 
Registered: Aug 2003
Distribution: SuSE 9.1
Posts: 113

Rep: Reputation: 15
Hi snakeo2,

From memory, the Linux J2RE download comes in two flavours -- a self extracting binary or a self-extracting RPM. If you downloaded the RPM, you still need to run the script that asks you to agree to the terms and conditions, and then it uncompresses an RPM file you then install. If you downloaded the binary, it will uncompress the files in a J2RE directory that you should then move to /usr/ or /opt/ or where ever you think it should go.

The following links will show you how to setup Java in Mozilla and then test the applet is working:

http://www.java.com:80/en/download/h...le_browser.jsp

http://www.java.com:80/en/download/h...le_browser.jsp

When you come to install Limewire, it might be useful to run the following command on the installer (otherwise it may complain that it can't find Java):

PATH=$PATH:/usr/java/j2rex.x.x_0x/bin sh ./LimeWireLinux.bin

Obviously, change the path to your Java installation, and the Java version number. Make sure you run this in the directory in with the LimeWireLinux.bin file is or change the last command to "sh /path/to/LimeWireLinux.bin"

Hope that helps,
Tim
 
Old 05-06-2004, 09:49 PM   #3
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Original Poster
Rep: Reputation: 31
i downloaded it the rpm file. i already got the script asking to agree to terms and conditions.
here is what i've done so far, but when i go to sun.java to test java i still get the message "missing plug in"
chmod a+x j2re-1_4_2_04-linux-i586-rpm.bin
$ ./j2re-1_4_2_04-linux-i586-rpm.bin
Do you agree to the above license terms? [yes or no]
y
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.40 of 28 November 1998, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: j2re-1_4_2_04-linux-i586.rpm
Done.
$ su
password
rpm -iv j2re-1_4_2_04-linux-i586.rpm
Preparing packages for installation...
j2re-1.4.2_04-fcs

am i missing anything??
 
Old 05-07-2004, 05:07 AM   #4
hoopyfrood
Member
 
Registered: Aug 2003
Distribution: SuSE 9.1
Posts: 113

Rep: Reputation: 15
Hi snakeo2,

A few quick questions:

1) After installing the RPM, can you confirm the presence of the directory /usr/java ?

2) Specifically, can you confirm the existance of the Java binary at /usr/java/j2re1.4.2_04/bin/java ?

3) What browser (Konqueror, Mozilla, Firefox, etc) and environment (Gnome, KDE, etc.) are you running?


FYI, if you're running Firefox (nee Firebird, Phoenix, etc.), you need to take an extra step to get Java working. I think i dug this up on the official Firefox website some time ago:

Quote:
Mozilla 1.4 and later, and Mozilla Firebird, are compiled with gcc 3.2.3. A gcc 3.x compatible version of the Java plugin must be used. JRE 1.4.2 contains a compatible plugin.

If you installed the JRE 1.4.2_01 RPM, this plugin is /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so - and to install it for Mozilla (including Mozilla Firebird), do the following:

* Open a terminal
* Change to your Mozilla (or Mozilla Firebird) plugins directory
* Issue the following command: ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
(I always found that the only java plugin that worked in Firebird/Firefox was /usr/java/j2re1.4.2_04/plugin/i386/ns610/libjavaplugin_oji.so)

Cheers,
Tim
 
Old 05-07-2004, 04:26 PM   #5
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Original Poster
Rep: Reputation: 31
im at work right now so i cant check whether the directory/usr/java exist or not. im running kde and mozilla. i know java is enable in mozilla.
 
Old 05-07-2004, 07:12 PM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
But getting Java to work in Mozilla isn't relevant to installing Limewire. Here the crucial thing is adding java to your $PATH. Open a terminal and enter
find /usr -name java
then copy and paste what it gives so we can see. It might be better if you did that as root or the list might get clogged up with "permission denied" errors.
 
Old 05-07-2004, 08:14 PM   #7
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Original Poster
Rep: Reputation: 31
i do have the directory usr/shr/java/jre2
what do i have to do now to enable java? any ideas will be appreciated
 
Old 05-07-2004, 08:19 PM   #8
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Original Poster
Rep: Reputation: 31
thanks for the tip andrew here is the output

# find /usr -name java
/usr/bin/java
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/gnu/java
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/java
/usr/share/doc/db4-devel-4.0.14/ref/java
/usr/share/java
/usr/include/java
/usr/include/mozilla-1.2.1/java
/usr/java
/usr/java/j2re1.4.2_04/bin/java

where do i go from here?? thanks in advance
 
Old 05-08-2004, 04:53 AM   #9
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Well you need to add java to your path and then run the limewire installer. If LimeWireLinux.bin isn't in your home folder you'll need to change directory into the folder containing the LimeWireLinux.bin , then run these commands

export PATH=$PATH:/usr/java/j2re1.4.2_04/bin
./LimeWireLinux.bin
 
Old 05-08-2004, 11:13 AM   #10
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Original Poster
Rep: Reputation: 31
Andrew, thaks for the tip
here is a summary of what i have done so far.
downloaded limewirelinux.bin into my home/user directory
# export PATH=$PATH:/usr/java/j2re1.4.2_04/bin
./LimeWireLinux.bin
bash: ./LimeWireLinux.bin: No such file or directory
# cd LimeWireLinux.bin
bash: cd: LimeWireLinux.bin: No such file or directory
# mv LimeWireLinux.bin /usr/local
mv: can't stat source LimeWireLinux.bin
# cd LimeWireLinux.bin
bash: cd: LimeWireLinux.bin: No such file or directory
im running out of ideas, do you have any suggestions. Also, i never installed a ".bin" file. should run chmod a+x? thanks in advance
 
Old 05-08-2004, 11:37 AM   #11
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
So where is LimeWireLinux.bin ?

find / -name LimeWireLinux.bin

If its in /path/to/some/folder/LimeWireLinux.bin
Code:
cd /path/to/some/folder
export PATH=$PATH:/usr/java/j2re1.4.2_04/bin
./LimeWireLinux.bin
 
Old 05-08-2004, 12:09 PM   #12
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Original Poster
Rep: Reputation: 31
# find / -name LimeWireLinux.bin
/home/freeze/LimeWireLinux.bin

# cd /home/freeze/LimeWireLinux.bin
bash: cd: /home/freeze/LimeWireLinux.bin: Not a directory
# cd /home/freeze
# export PATH=$PATH:/usr/java/j2re1.4.2_04/bin
# ./LimeWireLinux.bin
bash: ./LimeWireLinux.bin: Permission denied
# cd
# export PATH=$PATH:/usr/java/j2re1.4.2_04/bin
# ./LimeWireLinux.bin
bash: ./LimeWireLinux.bin: No such file or directory

this is frustrating
 
Old 05-08-2004, 12:26 PM   #13
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Ok, Permission denied, that means the file is not executable.
Code:
chmod 755 /home/freeze/LimeWireLinux.bin
export PATH=$PATH:/usr/java/j2re1.4.2_04/bin
/home/freeze/LimeWireLinux.bin
 
Old 05-08-2004, 01:07 PM   #14
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Original Poster
Rep: Reputation: 31
thanks man, it seemed to work. here is the output
i see a few errors, should i be concerned with these errors?? if not, can i launch limewire by just typing limewire in the konsole?

# chmod 755 /home/freeze/LimeWireLinux.bin
# export PATH=$PATH:/usr/java/j2re1.4.2_04/bin
# /home/freeze/LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Warning: -Xmx100331648 not understood. Ignoring.
Warning: -Xms16777216 not understood. Ignoring.
Exception in thread "main" java.lang.InternalError: Unexpected exception while defining class ZeroGq: java.lang.ClassNotFoundException: javax.swing.JDialog
at 0x40264e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x40257c8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x402651fa: java.lang.VirtualMachineError.VirtualMachineError(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025962e: java.lang.InternalError.InternalError(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x40256c2f: java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/./libgcj.so.3)
at 0x40256a13: java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int) (/usr/lib/./libgcj.so.3)
at 0x402edf2e: java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x40244197: gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x40256904: java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/./libgcj.so.3)
at 0x4024489c: _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/./libgcj.so.3)
at 0x40240cdd: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/./libgcj.so.3)
at 0x402374cf: _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/./libgcj.so.3)
at 0x4022d857: _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/./libgcj.so.3)
at 0x40225ae4: _Jv_PrepareClass(java.lang.Class) (/usr/lib/./libgcj.so.3)
at 0x40244028: java.lang.ClassLoader.linkClass0(java.lang.Class) (/usr/lib/./libgcj.so.3)
at 0x40256cb3: java.lang.ClassLoader.resolveClass0(java.lang.Class) (/usr/lib/./libgcj.so.3)
at 0x4024246c: java.lang.Class.initializeClass() (/usr/lib/./libgcj.so.3)
at 0x40240d04: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/./libgcj.so.3)
at 0x40240d9f: java.lang.Class.forName(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x402a901d: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
at 0x4024bc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
at 0x402188ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/./libgcj.so.3)
at 0x08048910: __gcj_personality_v0 (java.compiler=NONE)
at 0x4069044d: __libc_start_main (/lib/libc.so.6)
at 0x080486c1: _Jv_RegisterClasses (java.compiler=NONE)
 
Old 05-08-2004, 02:46 PM   #15
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
I'm not sure about this, but it looks to me as if you're getting some interference from the version of java that's already installed in /usr/bin. If I was in your place, the two things I would try is first, rearrange the PATH command I gave you before so that it finds your new version of java first. You shouldn't need to chmod LimeWireLinux.bin again, it should still be executable.
Code:
export PATH=/usr/java/j2re1.4.2_04/bin:$PATH
/home/freeze/LimeWireLinux.bin
and if that doesn't work, try moving the java file from /usr/bin out of the way while you run the limewire installer. If you can log in as root, drag and drop /usr/bin/java onto roots desktop. Then when you're done you can put it back if you want.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing limewire darkmasterxx Linux - Software 11 10-20-2005 01:01 PM
Installing Limewire? richo7 Linux - Software 2 06-14-2005 04:18 AM
installing limewire zexter Linux - Software 3 11-02-2003 02:52 PM
Installing LimeWire ThrillSeeker Linux - Software 4 04-10-2003 01:38 PM
Help installing Limewire AMDPwred Linux - General 10 01-11-2002 08:17 PM


All times are GMT -5. The time now is 07:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration