# Java FX Project Properties: Deployment

The Deployment panel lets you configure options for deploying your project. These options apply only to projects that are run as Java Web Start or Browser applications. Select how to run your project in the Run properties.

The IDE uses the settings in this panel, along with the settings in the Run and Application panels, to generate the project's JNLP file.

The panel contains the following deployment settings:

Element | Description
--- | ---
Check for Application Updates in Background | Java Web Start and browser-embedded applications automatically check for updates to the application at the original location where the application was loaded. By default the application checks for updates in the background and applies updates only on application restart ("lazy" mode). Uncheck this box and the application checks for and applies updates at start time, before running ("eager" mode). In the JNLP file, unchecking this box changes `<update check="lazy"/>` to `<update check="eager"/>`.
Install permanently | Permanently install the application on the client machine.
Add desktop shortcut | Add desktop shortcut to the client machine.
Add Start Menu shortcut | Add a start menu shortcut to the client machine.
Request unrestricted access Signing certificate | By default, Java Web Start applications run in a restricted environment where they have limited access to local computing resources. Tick this box if you want the application to request unrestricted access to the local file system. When you tick this box, the IDE inserts the `<all-permissions>` element into the security section of the JNLP file. The application must be signed in order to request unrestricted access. If the application requests unrestricted access, the application must be signed. The IDE can generate a self-signed key, or you can use an existing key. To select a key, click Edit. A dialog opens in which you select to use either a self-signed key or a specified key. If you select to use a specified key, enter the path to the key, its password, the key alias, and the key password.
Custom JavaScript Actions | The JavaFX 2 Deployment Toolkit provides a set of hooks that can be used to customize startup behavior. Click Edit to open a table of these hooks. Type your own callback function for each hook you want the application to use.
Download Mode for Libraries "eager" (default) "lazy" | Click Edit to open a dialog where you can change the download mode for libraries. The modes are: Libraries are downloaded before the application starts. Libraries are downloaded in the background as the application runs and are applied on restart.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.