Java Web Start Information

COMP 310  Java Resources  Eclipse Resources

JWS is no longer supported by Java 11+ so the following information is for legacy support ONLY.

To run JWS apps in Java 11+, try using OpenWebStart.

9/1/22 UPDATE: The current OpenWebStart (v1.6.0) unfortunately does not work with Java 18 due to deprecated features in Java 18.    Please see the current Canvas site for the course for alternative techniques for running the demos. This issue may be fixed in later versions of OpenWebStart.

OpenWebStart Tips and Traps:

Important: The errors that one encounters may differ depending on the version of one's operating system.

Always keep your operating system updated to the latest version to ensure that any issue encountered hasn't been eliminated or at least clarified (e.g. better error message) in the latest version of the operating system.

 

 

 

 

Java Web Start ("JWS") is a technology to launch Java applications directly from a web page.   JWS does not use the same mechanism as Java applets and in such, is able to get around the lack of applet support in many current browsers,  

Available JWS-based demos:

 

 

Troubleshooting JWS

One's computer may still need to be configured to properly run a JWS-launched application.   If you are having problems running JWS-launched applications, try these steps:

 

Add the site to the Java's "Exception Site List":

This will help keep Java from blocking the application from running by allowing applications from the launching site.   See the directions for "Application Blocked by Security Settings" in the "Tips and Traps" page of the Java Resources site.

 

Enable the Java console:

Enabling the Java console will allow you to see any error messages generated during the launch and/or running of a JWS application.   This can be very helpful in debugging what is going wrong.

 

(Linux only) OpenJDK doesn't support JWS:

The standard OpenJDK installation on Linux does not support JWS.   Add JWS support by also installing IcedTea-Web.

 

 

© 2021 by Stephen Wong