help plzzzzzzzzzz

Reply

Join Date: Nov 2004
Posts: 257
Reputation: sam1 is an unknown quantity at this point 
Solved Threads: 1
sam1's Avatar
sam1 sam1 is offline Offline
Posting Whiz in Training

help plzzzzzzzzzz

 
0
  #1
Jan 17th, 2005
hi

i have red hat 9 on the system. i downloaded java sdk for linux path from sun and installed it. but still it says javac command not found even though i renamed the path using the locate javac command.
Reply With Quote Quick reply to this message  
Join Date: Aug 2003
Posts: 372
Reputation: TheOgre is a jewel in the rough TheOgre is a jewel in the rough TheOgre is a jewel in the rough 
Solved Threads: 6
TheOgre's Avatar
TheOgre TheOgre is offline Offline
Posting Whiz

Re: help plzzzzzzzzzz

 
0
  #2
Jan 17th, 2005
The locate command doesn't rewrite anything - it just tells you where xxx is located.

Try doing updatedb, followed by locate xxx to see where it is (like, /usr/local/bin or /usr/sbin or whatever the path is) and maybe at that location to yoru $PATH if it isn't already there.
If you spend more on coffee than on IT security, you will be hacked.
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 72
Reputation: HawkeVIPER is an unknown quantity at this point 
Solved Threads: 4
HawkeVIPER's Avatar
HawkeVIPER HawkeVIPER is offline Offline
Junior Poster in Training

Re: help plzzzzzzzzzz

 
0
  #3
Jan 17th, 2005
Originally Posted by sam1
hi

i have red hat 9 on the system. i downloaded java sdk for linux path from sun and installed it. but still it says javac command not found even though i renamed the path using the locate javac command.
did you add a PATH= pointing to the location of your java install? did you install as root or as a user? did you install to the standard location?
--HV

values of β will give rise to dom!


ex·pert (ĕkspûrt)
n.

1. An ĕks is a hasbeen, a spûrt is a drip under pressure
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 257
Reputation: sam1 is an unknown quantity at this point 
Solved Threads: 1
sam1's Avatar
sam1 sam1 is offline Offline
Posting Whiz in Training

Re: help plzzzzzzzzzz

 
0
  #4
Jan 18th, 2005
Originally Posted by HawkeVIPER
did you add a PATH= pointing to the location of your java install? did you install as root or as a user? did you install to the standard location?
yes i added the javac path using the "locate javac" command i installed it in my home folder i dont know if it is user or rool
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 72
Reputation: HawkeVIPER is an unknown quantity at this point 
Solved Threads: 4
HawkeVIPER's Avatar
HawkeVIPER HawkeVIPER is offline Offline
Junior Poster in Training

Re: help plzzzzzzzzzz

 
0
  #5
Jan 18th, 2005
I mean, do you have a section in your PATH= that reads '/home/xxxxx/path/to/javac/'?
--HV

values of β will give rise to dom!


ex·pert (ĕkspûrt)
n.

1. An ĕks is a hasbeen, a spûrt is a drip under pressure
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 257
Reputation: sam1 is an unknown quantity at this point 
Solved Threads: 1
sam1's Avatar
sam1 sam1 is offline Offline
Posting Whiz in Training

Re: help plzzzzzzzzzz

 
0
  #6
Jan 18th, 2005
i did this in .bash_profile

PATH = $PATH:/usr/java/j2ske1.4.2-06/bin/javac
export PATH

i found the path by typing locate javac in terminal.

but still i get this error:

bash: javac : command not found
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 6,439
Reputation: DMR will become famous soon enough DMR will become famous soon enough 
Solved Threads: 363
Team Colleague
DMR's Avatar
DMR DMR is offline Offline
Wombat At Large

Re: help plzzzzzzzzzz

 
0
  #7
Jan 28th, 2005
Originally Posted by sam1
i did this in .bash_profile

PATH = $PATH:/usr/java/j2ske1.4.2-06/bin/javac
export PATH
Just at first glance (although it may not be the fix): your PATH statement should only point to the directories in which executables reside, not to the executables themselves; try this instead:

PATH = $PATH:/usr/java/j2ske1.4.2-06/bin:
export PATH

You may also have to export other environment variables besides PATH, such as CLASSPATH- more info and suggestions can be found in the results of this G4L search:

http://www.google.com/linux?hl=en&lr...=Google+Search
"May the Wombat of Happiness snuffle through your underbrush."
- Ancient Aborigine blessing


Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.

However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC