sun.plugin2.applet.viewer.JNLP2Viewer - JNLP Viewer

Q

How to "sun.plugin2.applet.viewer.JNLP2Viewer" program from JRE plugin.jar file?

✍: FYIcenter

A

"sun.plugin2.applet.viewer.JNLP2Viewer" program allows you to view Applets with JNLP (Java Network Launch Protocol) references embedded in HTML documents.

"sun.plugin2.applet.viewer.JNLP2Viewer" program is stored in the lib\deploy.jar JAR file JRE 1, 2, 3, 4, 5, 6, 7, and 8.

You can run the "sun.plugin2.applet.viewer.JNLP2Viewer" program using the lib\deploy.jar JAR file as described below using JDK 8 as an example:

C:\fyicenter>set JRE_HOME=\fyicenter\jre-1.8.0

C:\fyicenter>%JRE_HOME%\bin\java 
   -cp %JRE_HOME%\lib\plugin.jar;%JRE_HOME%\lib\deploy.jar;%JRE_HOME%\lib\javaws.jar 
   sun.plugin2.applet.viewer.JNLP2Viewer
   
Usage: JNLP2Viewer [url to HTML page containing <applet> tag with jnlp_href parameter,]
                   [url to a jnlp file direct.]
Views the first applet on the specified HTML page.

 

com.sun.javaws.Main - Java Web Start

sun.plugin2.applet.viewer.Applet2Viewer - Applet Viewer

Tools Supported from JRE JAR Files

⇑⇑ FAQ for JDK (Java Development Kit)

2018-11-11, 596👍, 0💬