LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-10-2003, 07:01 PM   #16
Ogledbyoldmen
Member
 
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Original Poster
Rep: Reputation: 30

i don't understand....just run export PATH=$PATH:/usr/java/j2re1.4.2_02/bin in terminal?
 
Old 11-10-2003, 07:24 PM   #17
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
What's not to understand? just copy and paste it from your browser, but edit it for changes before you press enter. I've just looked over your earlier post and it says your path is

PATH=/usr/java/j2re- etc, that " - " looks wrong to me. my j2re doesn't have a - in it's name. Try setting your path to
PATH=/usr/java/j2re1_4_2_01/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/terry/bin

export PATH

Good luck.

Last edited by Andrew Benton; 11-11-2003 at 09:12 AM.
 
Old 11-11-2003, 12:15 PM   #18
Ogledbyoldmen
Member
 
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Original Poster
Rep: Reputation: 30
[root@pppa32-city-1r7114 terry]# PATH=/usr/java/j2re1_4_2_01/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/terry/bin
[root@pppa32-city-1r7114 terry]# export PATH
[root@pppa32-city-1r7114 terry]# sh ./LimeWireLinux.bin
Preparing to install...
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.
[root@pppa32-city-1r7114 terry]#
 
Old 11-11-2003, 12:23 PM   #19
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
edit the file
~/.bash_profile

look for PATH=$PATH:blah bla blah

and add
:/[path to java]/bin on the end.
then re-log in !

like the java install instructions say,,, after install edit your PATH variable
then lime wire told u again...
quote No Java virtual machine could be found from your PATH

anyway, limewire is lame, has spyware, and seeing as it runs od a VM, its quite slow.
get good ol native gtk-gnutella.

gnutenna uses the same p2p network as limewire, so ur not missing out on anything.
 
Old 11-11-2003, 12:37 PM   #20
Ogledbyoldmen
Member
 
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Original Poster
Rep: Reputation: 30
[root@pppa32-city-1r7114 terry]# ~/.bash_profile
bash: /root/.bash_profile: Permission denied
 
Old 11-11-2003, 12:52 PM   #21
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
edit your users bash profile, not the root's profile.
you should NEVER EVER EVER EVER EVER run programs like limeiwre as root.. EVER !

login as a standard user.
 
Old 11-11-2003, 12:57 PM   #22
Ogledbyoldmen
Member
 
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Original Poster
Rep: Reputation: 30
haha sory, but same error
 
Old 11-11-2003, 01:03 PM   #23
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
[root@pppa32-city-1r7114 terry]# PATH=/usr/java/j2re1_4_2_01/bin

On my computer java is in /usr/java/j2re1.4.2_02/bin, that's 1.4.2, not 1_4_2, if I put
export PATH=/usr/java/j2re1.4.2_02/bin:/usr/X11R6/bin:/usr/local/bin:/bin:/usr/bin:/usr/games:/home/andy/bin

then run the LimeWireLinux.bin script it works like a charm. If I put

export PATH=/usr/java/j2re1_4_2_02/bin:/usr/X11R6/bin:/usr/local/bin:/bin:/usr/bin:/usr/games:/home/andy/bin

then I get the same error message as you. I can't see exactly where you've installed java. It's up to you to read the letters and other characters exactly. It's not rocket science. It just needs a little attention to detail.
 
Old 11-11-2003, 01:18 PM   #24
Ogledbyoldmen
Member
 
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Original Poster
Rep: Reputation: 30
[terry@pppa32-city-1r7114 terry]$ export PATH=/usr/java/j2re1.4.2_02/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/terry/bin
[terry@pppa32-city-1r7114 terry]$ sh ./LimeWireLinux.bin
Preparing to install...
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.
 
Old 11-11-2003, 02:40 PM   #25
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
So now you're saying you've got j2re1.4.2_02 installed? It was _01 before. Have you got Java installed? Which version? Exactly where is it? Attention to detail please.
 
Old 11-11-2003, 03:16 PM   #26
Ogledbyoldmen
Member
 
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Original Poster
Rep: Reputation: 30
sorry man, i know im confusing:

anyways this is what i have:

j2re-1_4_2_01
well to tell you the truth when i run env in terminal, it says j2re-1_4_2_01

but in mozilla, about- plugins says Java(TM) Plug-in 1.4.2_02-b03

located: (according to env)
PATH=/usr/java/j2re-1_4_2_01/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/terry/bin

quite queer if i do say...
 
Old 11-11-2003, 03:20 PM   #27
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
you DONT have a .bash_profile ??? did u delete it ???
every system (especially redhat 9) has a bash config.....

fine.... you will just have to update the PATH variable every tme u run limewire

open a console

PATH=$PATH:/usr/java/[java_version_dir]/bin/
export PATH
[then the command to run / install lime wire]
 
Old 11-11-2003, 03:24 PM   #28
Ogledbyoldmen
Member
 
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Original Poster
Rep: Reputation: 30
what the hell? i didnt delete my .bash_profile, where do you see that?
 
Old 11-11-2003, 03:47 PM   #29
Ogledbyoldmen
Member
 
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Original Poster
Rep: Reputation: 30
nvm limewire i got gtk-gnutella working...but im still curious to know if i deleted my bash profile
 
Old 03-06-2004, 09:44 PM   #30
adamshappy
LQ Newbie
 
Registered: Mar 2004
Location: Perth, Western Australia
Distribution: Fedora cor e 1
Posts: 2

Rep: Reputation: 0
Thanks doubley :-)

Thankyou everybody, I had the same error (no VM) when installing limewire onto my fedora box. It worked fine after entering a path to java. I dont know how the hell you guys know all this stuff!
 
  


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
LimeWire and Java loke137 Linux - Software 26 03-09-2007 06:42 AM
Limewire/Java Kaao Linux - Software 3 08-19-2005 05:01 AM
Java and Limewire astronerd Linux - Software 10 03-24-2005 05:41 PM
Limewire java help Ogledbyoldmen Linux - Software 5 02-02-2004 03:33 AM
Help with LimeWire/Java please. DarkGhost Linux - Software 21 06-04-2002 08:27 PM


All times are GMT -5. The time now is 05:19 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