Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

path question

Status
Not open for further replies.

sonun

IS-IT--Management
Dec 26, 2001
384
US

Wise, Aged Ars
Veteran

Registered:
December 26, 2001
Posts: 205


posted June 10, 2002 18:01


I have javac in,
/usr/java/j2sdk1.4.0_01/bin/javac
and so when I type in,
#/usr/java/j2sdk1.4.0_01/bin/javac
it recognizes that as a command.

But when I try to,
export PATH=$PATH:/usr/java/j2sdk1.4.0_01/bin/javac
and then type,
javac
it says command not found.

What am I missing ??
Thanks.
 
Your path should only contain directories, not files.

Try:
PATH=$PATH:/usr/java/j2sdk1.4.0_01/bin Perfection in engineering does not happen when there is nothing more to add. Rather it happens when there is nothing more to take away.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top