com.sun.javaws.Main - Java Web Start

Q

How to "com.sun.javaws.Main" program from JRE javaws.jar file?

✍: FYIcenter

A

"com.sun.javaws.Main" program allows you to start Java Web Start.

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

You can run the "sun.plugin2.applet.viewer.JNLP2Viewer" program using the lib\javaws.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\javaws.jar;%JRE_HOME%\lib\deploy.jar 
   com.sun.javaws.Main some.jnlp

You see the Java application defined in the "some.jnlp" file started.

 

Download and Use JDK 8

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

Tools Supported from JRE JAR Files

⇑⇑ FAQ for JDK (Java Development Kit)

2018-11-11, 623👍, 0💬