Help - Search - Members - Calendar
Full Version: Limewire & Java Virtual Machine
Linuxhelp > Support > Technical Support
mchnhed
Hello. I have Fedora Core 2 and I am trying to install LimeWire. I downloaded the *.bin file from the website and issued the following commands...

# chmod +x LimeWireLinux.bin
# ./LimeWireLinux.bin

Then it gives me this error...

=================================================
Preparing to install...
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
./LimeWireLinux.bin: line 326: [: `)' expected, found -z
WARNING! The amount of /tmp disk space required and/or available
could not be determined. The installation will be attempted anyway.
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.
=================================================


So I go to the Java website, download and install the JVM *.rpm file, and sent all the instlal files to the directory "/usr/local/java/j2re1.4.2_05". Then I went to Java's "Test Page" and it says I don't have the JVM installed.

Just to see if it really isn't installed properly I attempt to go through the LimeWire installation again, which gives me the same error.

THEN i attempted to re-install the JVM just in case i did something wrong... and it tells me i already have it installed...

What gives?? Any ideas please? sad.gif
Termina
It says java isn't installed because it's probally not in your path.

IIRC, java is usually installed to your HOME directory. Find that folder, and:

PATH=$PATH:/home/user/java/bin (or whatever the java folder is called)
export PATH

If you're doing this as root, please add the path (/home/user/java/bin) to the end of the path already in /root/.bash_profile


This should fix your java problem.
mchnhed
QUOTE (Termina @ Nov 30 2004, 08:54 AM)
It says java isn't installed because it's probally not in your path.

IIRC, java is usually installed to your HOME directory. Find that folder, and:

PATH=$PATH:/home/user/java/bin (or whatever the java folder is called)
export PATH

If you're doing this as root, please add the path (/home/user/java/bin) to the end of the path already in /root/.bash_profile


This should fix your java problem.

OK i usually login as a different user and only use root to do "serious" stuff. I don't want to screw this up... so when i open a terminal what commands should i issue? i'm assuming these first...

$ su
# PATH=$PATH:/home/user/java/bin (or whatever the java folder is called)
# export PATH


and then what ?
Termina
updatedb
locate java | grep bin
(you'll see something like /usr/lib/java/bin or /usr/local/java/bin... etc.)
then, as the user you'll be using to run limewire:
PATH=$PATH:/home/user/java/bin (or /usr/lib/java/bin ... whatever it showed above)
export PATH
mchnhed
QUOTE (Termina @ Dec 6 2004, 09:45 PM)
updatedb
locate java | grep bin
(you'll see something like /usr/lib/java/bin or /usr/local/java/bin... etc.)
then, as the user you'll be using to run limewire:
PATH=$PATH:/home/user/java/bin (or /usr/lib/java/bin ... whatever it showed above)
export PATH

well i tried doing what you suggested, but it wouldn't work properly. here is what i did...

----------------------------------------------------------------
[user1@localhost Desktop]$ su
Password:
[root@localhost Desktop]# updatedb
[root@localhost Desktop]# locate java | grep bin
[root@localhost Desktop]# locate java | grep bin
[root@localhost Desktop]# exit
----------------------------------------------------------------

... as you can see, after i typed "locate java | grep bin" it didn't display the file path as it was supposed to.

any ideas? sad.gif
Termina
Then you havn't really installed java. smile.gif Time to install it. happy.gif
DS2K3
java installs in /usr/java/<something>

D
Termina
Depending on what user installs it, and the version you use. tongue.gif

If a regular user installs it, it ends up in the users home directory.

And, of course, if you use packages provided by the distro (deb, rpm, etc.) it'll end up going somewhere completely diffrent. tongue.gif

Thus the updatedb && locate I had him try.

Since it didn't turn up anything, java obviously isn't installed. smile.gif

Perhaps he won't even have to edit PATH once he installs it (which will be nice).

Isn't that a little like saying that apache will always be in /var/www? wink.gif
DS2K3
Sun provide official RPMs - Which I tihnk were used in this case, which install to /usr/java. FC2 only lets root install rpms

D
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.