It works, Thank you very much. One additional qustion is that: I am also root user, can I set the env in some way (do some thing to the .bash_prifile in root directory i guess)so every ordinay user can use java compiler form her home directory.
Thanks On 6 Mar 2002, Arthur H. Johnson II wrote: > You line: > > PATH=$PATH:$HOME/bin /usr/java/bin > > Should read: > > export PATH=$PATH:$HOME/bin:/usr/java/bin > > On Wed, 2002-03-06 at 14:04, Jianping Zhu wrote: > > I have java install in usr/java directory, (javac and java in > > /usr/java/bin) how can modify .bash_profile in /home/jzhu so I can use > > javac and java in /home/jzhu? > > > > in fact I add this line in the .bash_profile > > PATH=$PATH:$HOME/bin /usr/java/bin > > > > but it does not work. > > > > Any advice appreciated. > > > > > > > > -------------------------------- > > Jianping Zhu > > Department of Computer Science > > Univerity of Georgia > > Athens, GA 30602 > > Tel 706 5423900 > > -------------------------------- > > > > > > > > _______________________________________________ > > Redhat-list mailing list > > [EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > -- > Arthur H. Johnson II > The Linux Box > http://www.linuxbox.nu > [EMAIL PROTECTED] > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > -------------------------------- Jianping Zhu Department of Computer Science Univerity of Georgia Athens, GA 30602 Tel 706 5423900 -------------------------------- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list