Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Limewire & Java Virtual Machine
mchnhed
post Nov 23 2004, 12:14 AM
Post #1


Grub-er
**

Group: Members
Posts: 37
Joined: 15-November 04
Member No.: 4,179



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
Go to the top of the page
 
+Quote Post
Termina
post Nov 30 2004, 08:54 AM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



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.


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
mchnhed
post Dec 6 2004, 08:17 PM
Post #3


Grub-er
**

Group: Members
Posts: 37
Joined: 15-November 04
Member No.: 4,179



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 ?
Go to the top of the page
 
+Quote Post
Termina
post Dec 6 2004, 09:45 PM
Post #4


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



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


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
mchnhed
post Jan 13 2005, 09:44 PM
Post #5


Grub-er
**

Group: Members
Posts: 37
Joined: 15-November 04
Member No.: 4,179



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
Go to the top of the page
 
+Quote Post
Termina
post Jan 14 2005, 06:39 AM
Post #6


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



Then you havn't really installed java. smile.gif Time to install it. happy.gif


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
DS2K3
post Jan 14 2005, 12:14 PM
Post #7


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



java installs in /usr/java/<something>

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
Termina
post Jan 15 2005, 01:25 AM
Post #8


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



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


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
DS2K3
post Jan 15 2005, 08:53 AM
Post #9


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



Sun provide official RPMs - Which I tihnk were used in this case, which install to /usr/java. FC2 only lets root install rpms

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2017 - 12:31 PM