PDA

View Full Version : [ubuntu] Where can I find the CLASSPATH?



Bortecin
July 12th, 2011, 12:33 PM
Hello All, I'm newbie to Linux. I have installed on my desktop the version Ubuntu 10.04 LTS.
My question is: Where can find my CLASSPATH file, in order to edit it?
Thanks in advance!

ratcheer
July 12th, 2011, 12:53 PM
I usually don't worry about where the original definition is created.

For example, if I want to add /aaa/bbb to CLASSPATH, I just add the following to ~/.bashrc:

CLASSPATH=/aaa/bbb:$CLASSPATH

That will work unless you have something you want to change or remove from the original definition.

Tim