ClassPath
Simplicity for Java requires that eight items be on your classpath. They are (in order)
- The full path of simplicity.jar
- The swingall.jar file. (This is not needed if you are using JDK 1.2 or later, as the swing classes are already present.)
- The full path of datarep_common.jar
All of the above items are found in the directory where Simplicity for Java is installed. The method by which you set your system classpath varies according to the operating system.
SET CLASSPATH=.;c:\Simplicity\simplicity.jar;
c:\Simplicity\swingall.jar;
c:\Simplicity\datarep_common.jar
- Windows NT/2000/XP The CLASSPATH is set in the Environment page of the System Properties in the Control Panel. Set a system variable similar to the Windows 95/98/ME example, above.
- OS/2 Warp The CLASSPATH is set in your config.sys file with a line similar to the Windows 95/98/ME example, above.
- Solaris/Linux/other Unix The CLASSPATH is set in your .profile with
export CLASSPATH =$CLASSPATH:
$HOME/Simplicity/simplicity.jar:
$HOME/Simplicity/swingall.jar:
$HOME/Simplicity/datarep_common.jarNote that the CLASSPATH entries should be on one line; they have been broken up here for clarity.
| Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |