Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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:
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"
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
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)
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.
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
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
# 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
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)
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.