LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   java is installed but still cant install limewire (https://www.linuxquestions.org/questions/linux-software-2/java-is-installed-but-still-cant-install-limewire-127324/)

zexter 12-19-2003 01:59 PM

java is installed but still cant install limewire
 
i get this when i try to install limewire...

[root@localhost home]# ./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.



but i just got done installing java and i checked to see if it was installed and it is, but then i went to about plugins in mozilla and it doesnt notice that java is installed can someone please tell me how to get mozilla to know that java is installed.... or is this even the reason limewire wont install?

trickykid 12-19-2003 02:01 PM

Just like the error indicates, its not in your users $PATH

"No Java virtual machine could be found from your PATH
environment variable."

Either add the directory its installed to, to your path or create a symlink to something like /usr/local/bin which is usually by default in all users path's.

zexter 12-19-2003 02:14 PM

ummm can you please speak english for me? lol i dont understand any of that! sorry

slackhappy 12-19-2003 10:01 PM

zexter,

You want to edit the file .bash_profile in your users home directory. You probably have a line that looks like:

PATH=$PATH:$HOME/bin

edit it to also point to your java install something like this (path may be different)

PATH=$PATH:$HOME/bin:/usr/java/j2sdk1.4.0/bin

Save changes then logout and back in. Hope this helps. ;)

95se 12-20-2003 12:25 AM

add it to /etc/profile instead. That way every user can use Java.

slackhappy 12-20-2003 09:53 AM

Good point 95se! I only have 1 user so I never thought of that. ;)

endezeichen 12-20-2003 01:50 PM

I'm having the same problem. Since im the only user on my computer I went to /home/endezeichen/.bash_profile When I sttempted to add the directory of java to it I couldn't type I guess the file is read only, so how do I change it? Also, Is there a way to do all of this in the command line? When I type the directory in the terminal I get "permission denied"
Thanks

Tinkster 12-20-2003 02:12 PM

Quote:

Originally posted by slackhappy
Good point 95se! I only have 1 user so I never thought of that. ;)
Bad idea, because next time you upgrade your
linux the changes are most likely lost ...

Try this




Cheers,
Tink

slackhappy 12-20-2003 02:34 PM

Hmm...interesting. I got that right off of Sun's website???

Tinkster 12-20-2003 04:57 PM

Your point being? :)


Cheers,
Tink

slackhappy 12-20-2003 05:06 PM

No idea...sometimes it doesn't pay to RTFM? :)

Tinkster 12-20-2003 05:25 PM

Well, the thing is:

In Linux there's always several ways to achieve
a result. The first thing that someone thinks of is
not necessarily the best solution ;)


Cheers,
Tink

slackhappy 12-21-2003 09:44 AM

Tink, I couldn't agree with you more. I never disagreed with you. I just showed the way I do it. I've never seen it done the way you pointed out. Not that there is anything wrong with that. ;) That's why I am here...to help others while helping myself.


All times are GMT -5. The time now is 05:52 PM.