finding java path?
im a linux :newbie: and im having some probs, i installed java because it told me i needed to have to to install limewire...now that it is installed and i try to install limewire with the commands cd /home/Adam/Documents then chmod 755 LimeWireLinux.bin then ./LimeWireLinux.bin and i get the message 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. so i did some checking and i found my java is installed in root/usr/java and it is version j2re1.4.1! would someone please explain to me in the simpilist of terms how to fix that problem, the only shell commands i know is what i have saw by looking trying to fix that, so please tell me EXACTLY what ineed to type to fix this thanks! |
There is no need to double/triple/multi post it is unhealthy. Search here the answer to your question is among this list http://www.linuxquestions.org/questi...der=descending
|
You can edit /etc/profile and add the following lines:
JAVA_HOME=/usr/java PATH=$PATH:$JAVA_HOME/bin export JAVA_HOME PATH |
All times are GMT -5. The time now is 02:47 AM. |