dcsimg

How do I create a JAR file that includes the minimal dependency tree of non-core classes for an applet?

delfim martins

The solution I found for this problem was to use the CreateArchive application from the Java Servlets book. All the book's source is available from http://www.servletguru.com/downloads/JavaServlets.zip. The CreateArchive application creates a .jar file with all .classes that an applet (or any class) needs to run.