Tips for using JWS on Windows PCs

28-Mar-2007, Kurt Biery

I believe that most of the problems that users have encountered when trying to run the snapshot producer on a Windows PC have been related to installing Java and/or enabling Java Web Start. With this in mind, I have put together the following notes on JWS and Windows.

Background

At this time, the preferred version of Java for use with S3 is 1.5.0_11. So, my goal whenever I set up a new workstation for producing snapshots is so associate the "jnlp" file extension with a copy of the 1.5.0_11 javaws executable on the machine and ensure that this version of Java will be used when the producer runs. On some Windows PCs that I have tested, this is already installed and configured. On others, I need to install the correct version of Java and set up the associations by hand.

Before listing any tips, I should say that you can check whether a particular workstation (Windows or Linux) is enabled for Java Web Start using the following link: http://lhcsrv1.fnal.gov:8082/demo/timevers.jnlp. If JWS is working, you may need to click through some "are you willing to allow this application to start" dialog boxes, but then you should see a small window open with a current timestamp from the local workstation and the version of the Java runtime that is being used locally for JWS applications.

Tips

To check for existing versions of the Java Web Start executable: To associate a particular version of the javaws executable with the jnlp file extension, you can use the following steps: To install a new version of Java, I use the following steps: The configuration of the Java runtime on a Windows machine can be accessed choosing Start-->Control Panel, and then double-clicking on the Java icon. From the Java Control Panel, you can select which versions are available for JWS applications by choosing the "Java" tab and then clicking on the View button in the Java Application Runtime Settings section. In addition, you can remove or execute cached versions of JWS applications with the following steps: