Creating and Using an External Library - Exercise
Creating and Using an External Library
Duration: 5 to 10 minutes.
- Run the command shown above to create
utilities.jar to the
ClassFiles directory in your filesystem.
- If you remove the
util directory from
Payroll-Control02, you will not be able to compile or run
Payroll as we have been doing.
- But, you should be able to compile and run by specifiying a classpath option as shown in the
- You can also temporarily modify the classpath for the duration of your
command prompt window as follows (note that you may need to modify the
line below to match your setup):