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

Re: Trouble setting environment variables



On Thursday 13 May 2010 13:16:21 Jason Filippou wrote:
> > You did log out and log back in, right?  Your ".profile" is only read
> > on login.
> 
> I actually hadn't done that, and logging in again helped with the PATH
> variable, but I still get nothing when echoing the value of CLASSPATH. I've
> changed the .profile entry to
> 
> CLASSPATH="/home/jason/code/java"
> 
> and to
> 
> CLASSPATH="/home/jason/code/java:"
> 
> logging out and in again in botch cases, but I'm still not in luck =/

Hrm, your .profile should be "source"d in your current shell, which means 
"export"ing it wouldn't be necessary.  However, I would suggest "export"ing it 
as the first attempt at a work around.
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: