LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-14-2002, 08:53 PM   #1
pyropenguin
Member
 
Registered: Sep 2002
Location: Iowa
Distribution: Redhat 9.0
Posts: 52

Rep: Reputation: 15
Angry finding java path?


im a linux 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!
 
Old 09-15-2002, 01:23 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Please don't double post, especially so close together like this. I understand if it was an accident, like you pressed submit too many times or whatever, but if you did this for more answers, this is not a good idea.

Cool
 
Old 09-15-2002, 08:55 AM   #3
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,532

Rep: Reputation: 132Reputation: 132
put this into your /home/usrname/.bashrc

export PATH="/usr/java/j2sdk-version/bin":$PATH
(assumed your java resides on /usr/java) u may name j2sdk exactly


but be careful not to make a spell error. this can lead to fatal errors on your machine. fatal!
if there is a command like
export $PATH
already in this file
then u have to place this linebehind the first export command.

there may be another config file on your system like
/etc/rc.config or /etc/profile or similar where u can place this command too, if needed

to make the $PATH variable visible to your system u have to
source /home/usrname/.bashrc
logged in as usrname
or reboot your box
call `echo $PATH` to see if it's found
cheers, jens

Last edited by j-ray; 09-15-2002 at 08:58 AM.
 
  


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
finding the PATH tahiche Linux - Software 7 10-12-2005 01:47 PM
Finding process path praj_linux Solaris / OpenSolaris 5 12-21-2004 11:01 AM
Finding the kernel path blacksunshine Linux - Software 2 10-03-2004 03:45 PM
edonkey java gui not finding java Sephiroth Linux - Software 0 03-13-2004 09:14 PM
finding java path? pyropenguin Linux - Newbie 2 09-19-2002 02:02 PM


All times are GMT -5. The time now is 06:57 AM.

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