The NetX WebStart implementation from the IcedTea-Web project is written in pure Java, so it can also be used on Windows; we also used it on Linux and Mac OS X in previous recipes in this chapter. In this recipe, we will create a simple implementation of the WebStart launcher script for Windows.
For this recipe, we will need a version of Windows running with Java 7 (the prebuilt OpenJDK or Oracle one) installed. We will also need the netx.jar
module from the IcedTea-Web project, which can be built using instructions from the previous recipe in this chapter.
The following procedure will help you to run WebStart applications on Windows:
Download the JNLP descriptor example from the Java tutorials:
http://docs.oracle.com/javase/tutorialJWS/samples/deployment/dynamictree_webstartJWSProject/dynamictree_webstart.jnlp
Test that this application can be run from the Command Prompt using
netx.jar
:java -Xbootclasspath...