Running Java Web Start Applications






Running Java Web Start Applications

Users can run Java Web Start applications in the following ways:

  • Running a Java Web Start application from a browser

  • Running an application from the Java Cache Viewer

  • Running a Java Web Start application from the desktop

Note

Users of applications deployed with Java Web Start must have a compatible version of the Java Runtime Environment (JRE). The complete JDK is not required.


Running a Java Web Start Application from a Browser

You run an application with Java Web Start from a browser simply by clicking a link to the application's JNLP file, such as:

<a href="Notepad.jnlp">Launch Notepad Application</a>

Java Web Start then loads and runs the application based on instructions in the JNLP file.

Running an Application from the Java Cache Viewer

If you are using Java Version 1.6.0, you can run a Java Web Start application through the Java Cache Viewer.

When Java Web Start first loads an application, information from the application's JNLP file is stored in the local Java Cache Viewer. To launch the application again, you do not need to return to the Web page where you first launched it; you can simply open the Java Cache Viewer.

To open the Java Cache Viewer:

1.
Open the Control Panel.

2.
Double-click on the Java icon. The Java Control Panel opens.

3.
Select the General tab.

4.
Click View. The Java Cache Viewer opens.

The application is listed in the viewer as shown in Figure.

1. Java Cache Viewer application.


To run the application, select it and click the Run button, , or double-click the application. The application starts just as it did from the Web page.

Running a Java Web Start Application from the Desktop

Through the Java Cache Viewer, you can add a shortcut to the application to your desktop. Simply select the application, right-click and select Install Shortcuts, or click the Install button, . A shortcut is then added to the desktop as shown in Figure.

2. A shortcut to Notepad Demo application.


You can then launch the Java Web Start application just as you would any native application.



 Python   SQL   Java   php   Perl 
 game development   web development   internet   *nix   graphics   hardware 
 telecommunications   C++ 
 Flash   Active Directory   Windows