Placing Jar Files to be Accessible by Your System

There is an alternative to putting jar files onto your CLASSPATH as described separately.  You can also place them so they are accessed as a standard library.  This is appropriate for jar files that you will use on a regular basis.

Simply place the jar files in the directory jre/lib/ext.  The directory jre is found in the jdk1.4 directory in a standard download from Sun.  On Windows systems there is often another jre directory under java under the Program Files directory.  You should also place a copy of the jar files there.

This does not work with the Java MBS case study jar files (mbsbb.jar and mbsgui.jar).  You must set these up using CLASSPATH.  You can also use the technique described in the documentation for execution that comes with the case study, particularly for TextPad.

 

Chris Nevison
chris@cs.colgate.edu
June 2002