[NTLUG:Discuss] PATH Questions

Dennis Myhand dmyhand at ednaisd.org
Wed Nov 1 14:33:11 CST 2006


Chris Cox wrote:
> 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
>>
>>
>>     
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
>
>   
Cool. Thanks.



More information about the Discuss mailing list