Determine what are the classes actually used in a Java Applet or applicationTag(s): Environment

In Netscape
  1. Open the Java console
  2. Press "9" to set the Debug level
  3. Execute your applet.
  4. Check the console and take note of the loaded classes.

In application

java -verbose:class MyApp
NOTE: This can be useful if you want to trim a JAR to include only classes actually used.


If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2012
[ home ]