On Wed, Sep 14, 2011 at 11:14 AM, Abhinay Mehrotra <[email protected]> wrote:
> how to add system variables for the jdk or any other bin in ubuntu and
> fedora
> i need to set path but i want to add permanent path to my system variables..
> help me out..
>
> --
> Mailing list guidelines and other related articles:
> http://lug-iitd.org/Footer
>

You can set path by editing .bashrc in your home directory.

first get the binary path by " which java"  command
and then add this path to your .bashrc file
JAVAPATH=<output of which java command">
export JAVAPATH

Or if you want to set path temporary for anything just use above
listed path on running session without editing the
.bashrc but these will be temporary.


--
Best Regards,
Suresh Kumar Prajapati
Linux Security Admin
E-mail: [email protected]
----------------------------------------------------------------------------------------

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to