

Open the application's HTML page in a browser to view the application.To run from the local machine, you must add your application to the exception site list, which is managed from the Security tab of the Java Control Panel. Place the application's JAR file, JNLP file, and HTML page in the appropriate folders.įor this example, place DynamicTreeDemo.jar, dynamictree_webstart.jnlp, and JavaWebStartAppPage.html in the same directory on the local machine or a web server.

Seeĭeploying a Java Web Start Application in the Deployment In-Depth lesson for details. If you deploy the Java Web Start application with a direct link, you cannot take advantage of the additional checks that the Deployment Toolkit functions provide. Permissions are not requested for this application so it runs in the security sandbox. Here is the JNLP file that is used to launch the Dynamic Tree Demo application. Create a JNLP file that describes how your application should be launched.Signed JNLP Files in the Java Platform, Standard Edition Deployment Guide for information. If you want to use a signed JNLP file for security, create the JNLP file as described in the next step and include it in the JAR file before the JAR file is signed.

Signing JAR Files lesson for more information. Use a valid, current code signing certificate issued by a trusted certificate authority to provide your users with assurance that it is safe to run the applet.
