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 https://www.insanelymac.com/forum/topic/148291-setting-classpath-in-leopard-terminal/ 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 https://www.insanelymac.com/forum/topic/148291-setting-classpath-in-leopard-terminal/#findComment-1050820 Share on other sites More sharing options...
Recommended Posts