On Wed, Sep 14, 2011 at 1:51 AM, ankur kumar <[email protected]> wrote:
> Hi Abhinay.
>
> You can try out the following links:
>
> https://help.ubuntu.com/community/EnvironmentVariables
>
> Or else you can try out this (provided your shell is BASH)
>
> Edit the startup file (~/ .bashrc)
> Modify PATH variable:
> PATH=<your path to jdk>
> export PATH

This is dangerously wrong [for beginners].

It should be
  PATH=$PATH:<your path to jdk>

SB

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

Reply via email to