FileMon is a free Windows utility that you can download from http://www.sysinternals.com. Its purpose is to show where a running application searches for the files that it needs, so it is useful for resolving problems with CLASSPATH settings.
To use FileMon, perform the following steps:
1. Run filemon.exe.
2. Set a filter for the file type in which you are interested. FileMon produces a lot of output; you probably want to set a filter to restrict the output to a more readable size. To set a filter, click the Filter button the in FileMon toolbar. For example, you can use the filter *\*.jsp to monitor all .jsp files that your application is trying to open.
3. If desired, save the output to a log file.
Note: You can also get information about the classes that load by using the JVM option verbose:class.