I am trying to figure out where the classpath gets set. I am trying to compile a simple Java class that has some includes from a jar file. I first tried echo $CLASSPATH to see what it currently was set to, but it said undefined variable. I thought that was odd because I could compile other java classes that have includes (from the standard java packages) in them. Also, Java apps seem to compile and run ok, so the classpath must be set somewhere. The closest thing I have found so far was in a plist file. In JavaConfig.plist it appears to set the default classpath, but changing it has no effect on compiling (tried rebooting). I noticed some of the paths set in it start with $NEXT_ROOT. Doing an echo $NEXT_ROOT also shows that the variable is undefined. So I am thinking that this file is not being used. So my question is....if my Java works from the command line, I must have a valid classpath, but where is it set and how do I change it? I also tried setting it in my .profile but that didn't seem to have any effect either.