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.
blog comments powered by Disqus