Hi, I don't use any of these shells, so I don't remember the exact details, but if I'm not mistaken, tcsh reads both ~/.cshrc and ~/.tcshrc. So if you want to have this variable for both shells, put setenv JAVA_HOME <whatever> In ~/.cshrc. If this file doesn't exist, just create it. Of course, if you are a sysadmin on this machine you might want to set it for all users in (something like) /etc/cshrc. Anyway, all the details about these files should be in man tcshrc
HTH Moshe > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Aaron Mehl > Sent: Thursday, January 23, 2003 10:27 AM > To: linux newbie > Cc: Moshe Kaminsky > Subject: RE: [newbie] c shell path > > > Thanks, > > Yes as in tsch shell, I see no ~/.cshrc at all. I am trying to set up > some xml/java stuff and need to set JAVA_HOME > On Thu, 2003-01-23 at 01:14, Moshe Kaminsky wrote: > > Hi, > > > > If you really mean *C* shell (csh) then it should probably > go into the > > ~/.cshrc file. You do something like: > > > > setenv PATH "<your path>:$PATH" > > > > Note that the order of the directories is important, the > program found > > in the first of them is the one taken. Which mean that if I have > > /usr/java/j2re1.4.1_01/bin in my path and I add > /usr/java/j2re1.4.1_01 it will only read the first entry?? > > > Thanks > Aaron > > Moshe > > > > > >
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
