JavaFX 2.2.40 Documentation Introduces the New Deployment Features

The JavaFX Deployment Guide was updated for the JavaFX 2.2.40 release to describe the new User JVM Arguments in the Ant tasks. Now you can create applications that allow users to override jvm options. For example, users can change the heap size for the application.

A new <fx:jvmuserarg> attribute has been added to <fx:platform>. This new attribute explicitly defines an attribute that can be overridden by users. For instance:

    <fx:platform>
        <fx:jvmuserarg name="-Xmx" value="768m" />
    </fx:platform>

For this specific case, -Xmx768m is passed as a default value for the heap size. The user can override this value in a user configuration file (on Linux and Mac) or in the registry in Windows.

For more information see the Deploying JavaFX Applications guide.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Blog about Java technology documentation and news about Java releases.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today