What is Linux appletviewer Command?


appletviewer COMMAND:

The appletviewer command is used to run applets outside of a web browser. The command runs the java applet viewer. In other words, the "appletviewer" command connects the documents or resources designated by urls and displays each applet referenced by the documents in its own window. The documents referred to by the urls should reference applets with the OBJECT, EMBED, or APPLET tag for the appletviewer command to run the applets.

The appletviewer command requires encoded URLs according to the escaping mechanism defined in RFC2396. Only encoded URLs are supported. However, file names must be unencoded, as specified in RFC2396. The appletviewer command is intended for development purposes only.


appletviewer [options] url...


Option Description
-debug Starts the Applet Viewer in the Java debugger with the jdb command to debug the applets in the document.
-encoding encoding-name Specifies the input HTML file encoding name.


  1. First you have to write java program to create applet window. Then, compile the program like below
    Then, use appletviewer command to open applet window:

Ask Questions

Ask Question