thank you very much. it works like this . vaneet -----Original Message----- From: centos-bounces@xxxxxxxxxxx on behalf of Alexander Dalloz Sent: Wed 3/23/2005 6:24 PM To: CentOS discussion and information list Cc: Subject: Re: [Centos] Bash_profile Am Mi, den 23.03.2005 schrieb Vaneet Sharma um 16:03: > I included the PATH variable in bashrc on centos 3.3 That is enough. > Now, According to documentation I found through google, > > To set up the JAVA_HOME at log on, you need to change bash_profile No. Doing a login having a bash shell, the ~/.bashrc is read in too. If you set anything in ~/.bash_profile then not having a login shell but a normal shell operation, your JAVA_HOME from a ~/.bash_profile will not be set. > I couldn't find this file on centos 3.3 in etc directory. You can create it your own. It is nothing existing by default. > vaneet Did you read my yesterday's reply? You frequently change your posting topics. Please keep it while discussing one and the same problem from different views. My advise is to set the JAVA environment in /etc/profile.d/. P.S. Your "30 miles" signature and stupid disclaimer for a public mailing list sucks. -- Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.770_FC2smp Serendipity 18:19:11 up 6 days, 16:15, load average: 0.47, 0.46, 0.45 Vaneet Sharma executive manager iDeasTank Limited an iwg business dolphins' court po 388 valletta, m-malta/europe mobile: +356 9943 8263 skype: CALLVANEET fax: +356 9952 8888 phone: +356 9942 8888 vaneet@xxxxxxxx call me on www.skype.com - my ID is CALLVANEET Want a signature like this? - www.plaxo.com\signature iwg is a global e-mobile company creating, building and growing new businesses. iwg founders are pioneers in creating multi-billion dollar mobile and Internet businesses in Europe, Asia and the US. www.iWG.info www.countryprofiler.com/iWG www.visitmalta.com www.mfc.com.mt Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 6066 bytes Desc: not available Url : http://lists.caosity.org/pipermail/centos/attachments/20050323/cf014543/attachment.bin