hwo to set java path permanently

Pete Nesbitt pete at linux1.ca
Thu Jul 1 23:15:18 UTC 2004


On June 29, 2004 08:52 am, harsh gupta wrote:
> Hai Any 1 tell me how 2 set the Path of Java In Linux
>

If you mean, how to add the Java binary to your path, you can edit either your 
own  ~/.bash_profile:

PATH=$PATH:/usr/java/j2re1.4.2_03/bin
export PATH

OR system wide in /etc/profile
OR in a script in /etc/profile.d


> &
>
> All so Tell me If I forget The Root Passord so how can i recover my root
> password Or Replace it
>


One way to change the root password is via the boot cd (rescue mode).


> my Mail add Is
>
> myharshdesigner at yahoo.com
>


-- 
Pete Nesbitt, rhce





More information about the redhat-list mailing list