The appletviewer command allows you to run applets outside of the context of a World-Wide Web browser.
appletviewer
[
threads flag] [
options
] urls ...
The appletviewer command connects to the documents or resources designated by urls and displays each applet referenced by the documents in its own window. Note: if the documents referred to by urls do not reference any applets with the OBJECT, EMBED, or APPLET tag, then appletviewer does nothing. For details on the HTML tags that appletviewer supports, see AppletViewer Tags.
- -debug
- Starts the applet viewer in the Java debugger, jdb, thus allowing you to debug the applets in the document.
- -encoding encoding name
- Specify the input HTML file encoding name.
- -J javaoption
- Passes through the string javaoption as a single argument to the Java interpreter which runs the appletviewer. The argument should not contain spaces. Multiple argument words must all begin with the prefix -J, which is stripped. This is useful for adjusting the compiler's execution environment or memory usage.