Creating a Java Web Start File

A Java Network Launching Protocol definition file, <appname >.jnlp, is automatically created when you use the Java Web Start Wizard to create Java clients to download and run Java applications and applets on client machines. However, if you want to control the contents of the <appname>.jnlp, you can manually create your own file to use.

Note: If this item appears dimmed or grayed out, this indicates that there is an <appname>.jnlp file already created in the project. You can have only one of each deployment descriptor type per project.

To manually create a Java Web Start (.jnlp) file:

  1. In the Navigator, select the project to which you want to add a .jnlp file.

  2. Choose File | New to open the New Gallery.

  3. In the Categories tree, expand General and select Deployment Descriptors. In the Items list, double-click Java Web Start (JNLP) Files.

    If the category or item isn't found, make sure the correct project is selected, and choose All Technologies in the Filter By dropdown list.

  4. Click OK.

  5. The newly created file opens in the Code Editor. Edit this file to add the configuration settings as appropriate.

For more information on Java Web Start, see java.sun.com/products/javawebstart/.


Related topics

Creating and Editing a Deployment Descriptor
About Deployment Descriptors
About Java Web Start and Java Clients
Creating a Java Web Start JNLP Definition for Java Clients
Running Applications and Applets with Java Web Start in JDeveloper
Deploying a Java Client Web Application Archive for Java Web Start

 

Copyright © 1997, 2004, Oracle. All rights reserved.