[NTLUG:Discuss] PATH Questions

Chris Cox cjcox at acm.org
Wed Nov 1 14:30:42 CST 2006


Dennis Myhand wrote:
> I need to add Java to my path in my .bash_profile.  Do I add the actual 
> binary as well as the directory or just the directory?  What I have is:
> 
> PATH=$PATH:/usr/bin: /usr/java/jdk1.5.0_09/bin/java

No spaces... (and I'm guessing want just the bin dir)

PATH=$PATH:/usr/bin:/usr/java/jdk1.5.0_09/bin

> 
> Is this correct?  The JDK is in /usr/java/jdk1.5.0_09
> 
> Thanks, Dennis
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
> 
> 




More information about the Discuss mailing list