Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Post Install Guide

   

Update Java CLASSPATH for old Swing/AWT Applications

Between Swing 1.0 and Swing 1.1, Sun changed the Swing package path from com.sun.java to javax . WebObjects 4.5 installs the new versions of of Swing.jar and AWT.jar in /System/Library/Frameworks/JavaVM.framework/Classes (AWT depends on Swing). Note that this is where the old .jar files were located; in order to allow applications that were using the older versions of the Swing and AWT packages to continue to function, the WebObjects 4.5 installer doesn't overwrite the old .jar files but instead renames them to Swing.old.jar and AWT.old.jar . Thus, to use the old .jar files you need only alter your runtime CLASSPATH to point to the new locations of the old versions of AWT and Swing.

This change needs to be made only for non-WebObjects projects that use the old version of Swing. WebObjects projects that use the old version of Swing should be modified to use the new version.


© 1999 Apple Computer, Inc. – (Last Updated 19 Oct 99)