Run JavaWS with JNLP File from the Server

Q

How to run JavaWS command to read a JNLP file from the server?

✍: FYIcenter

A

If you know the URL of a JNLP file from the server, you can run JavaWS command to read a JNLP file remotely as shown below:

1. Check the following URL of a JNLP file with a browser:

https://docs.oracle.com/javase/tutorialJWS/samples/deployment/dynamictree_webstartJWSProject/dynamictree_webstart.jnlp

2. Run JavaWS command with this URL:

>\fyicenter\jdk-1.8.0\bin\javaws 
   https://docs.oracle.com/javase/tutorialJWS/samples/deployment/dynamictree_webstartJWSProject/dynamictree_webstart.jnlp

JavaWS will download the dynamictree_webstart.jnlp file first, then download the DynamicTreeDemo.jar file given in the JNLP file and launch it.

 

Introduction of JavaWS and JNLP

⇒⇒FAQ for JavaWS (Java Web Start)

2018-01-06, 217👍, 0💬