I do contract work for a living, which could include writing a program such as this. However, I don’t do people’s homework for them. That just robs them of an education.
You have my full permission to implement this project any way you please.
Most of what you need for a classpath search is implemented in ZipLock. See the storeClass(String className) method and the openResource(,) method it calls. You’d just need to modify main() to call openResource() and modify openResource(,) to print out the place where it found the .class file.
Eventually you might extend the ability of the program to search the entire Internet using jar catalog files and search engines. The other extension would be to deal in a similar way with DLL files (or equivalent) on the PATH.
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.18] | The information on this page is for non-military use only. | ||
| You are visitor number 5,426. | Military use includes use by defence contractors. | ||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/Mindprod website mirror) | ||
| http://mindprod.com/project/pathtool.html | J:\mindprod\project\pathtool.html | ||