Using sysinfo to check the classpath

sysinfo provides an argument (-cp) which can be used to test the classpath.
java org.apache.derby.tools.sysinfo -cp 
[ [ embedded ][ server ][ client] [ tools ] [ anyClass.class ] ] 

If your environment is set up correctly, the utility shows output indicating success.

You can provide optional arguments with -cp to test different environments. Optional arguments to -cp are:
If something is missing from your classpath, the utility indicates what is missing. For example, if you neglected to include the directory containing the class named SimpleApp to your classpath, the utility would indicate this when the following command line was issued (type all on one line):
$ java org.apache.derby.tools.sysinfo -cp embedded SimpleApp.class
FOUND IN CLASS PATH:

Derby embedded engine library (derby.jar)


NOT FOUND IN CLASS PATH:

user-specified class (SimpleApp)
(SimpleApp not found.)
Related reference
sysinfo example