raymondu999 Posted January 21, 2009 Share Posted January 21, 2009 Hi all. I'm taking a Java course right now, and I was wondering how to set the classpath (environment variable) in Leopard? Through the terminal. Thanks Link to comment Share on other sites More sharing options...
Bit Shoveler Posted January 21, 2009 Share Posted January 21, 2009 export CLASSPATH=/foo/bar/baz.jar:/usr/remote/someplace/else.jar DO NOT put spaces before or after the = sign!! This is for bash (the standard Terminal shell), if you use tcsh instead, it's: setenv CLASSPATH /foo/bar/baz.jar:/usr/remote/someplace/else.jar Link to comment Share on other sites More sharing options...
Recommended Posts