[Centos] Bash_profile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.caosity.org/pipermail/centos/attachments/20050323/b6a22f1f/attachment-0001.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux