The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Don't do it!

Posted by william on May 10, 2001 at 10:19 AM

My only answer to this is not to set a CLASSPATH variable at all - invoke your compiler with the classpath option, and if that becomes too tedious (if your classpath becomes large), write a script that invokes your compiler with the necessary options.

The other alternative, where you are using external libraries, is to place them in the standard extensions directory of your jre.

> I saw couple of discussion on classpath. But still I am not clear how to set this environmental variable. How can we do in in UNIX. A clarification is greately appriciated. thanks.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us