King distribute 3 classes as Package (please refer to appendix-E, pp759~764, King's book)
Please download a ZIP file of this package
(Assume your Java working directory is c:\MT201)
1) unzip the package to c:\MT201\jpb
2) start a DOS prompt & change directory to c:\MT201\jpb using the DOS command [cd c:\MT201\jpb]
3) make sure all CLASSes are there using the DOS command [ dir ] :
no need to compile them, Javac will compile them during the first ACCESS
4) compile your Java files in your working directory as usual; for example:
- compiling the FileProperties.java (ref pp-610),
- this file was assumed to be kept as C:\MT201\FileProperties.java
- enter the command [ javac FileProperties.java ]
refer to King pp420, you have to set your CLASSPATH variable. Again, assume your Java working directory is c:\MT201, then your CLASSPATH should be [ .;c:\MT201 ].
Please also set up this variable in the way that you've set the PATH variable of our JDK ( please refer to Unit-0)