information in nested resources elements is used only if the client JNLP uses the specified
JRE; otherwise, the data are ignored.
Three attributes are used:
• version :Version string that specifies the supported versions of the JRE. See section
about versioning identification.
• initial-heap-size :Initial heap size, a JVM parameter. Modifiers allowed are “m”
(“64m” is the same as “67108864” because it is equal to 64 * 1024 * 1024) and “k”
(“256k” is the same as “262144”—that is, 256 * 1024). Modifiers are not case-sensitive.
• max-heap-size : Maximum heap size, a JVM parameter. Modifiers are defined as in the
application-desc Empty Element
This element describes the resources needed to launch the application. It has an optional
attribute, main-class , which specifies the Java class containing the main method. The resolu-
tion of the main-class is described in the launch mechanism section.
Only one subelement is allowed for the application-desc element. The argument element
describes the command line arguments passed to the main method of the class to be launched.
The order of the argument elements in the JNLP file is meaningful. It is with this same
order that arguments are passed to the invoked main(argv) method.
applet-desc Empty Element
This element identifies all the resources needed to launch the applet. Resources are loaded
from the resources elements. The attributes are as follows:
• main-class :The main applet class to be launched.
• width :The applet's width, in pixels.
• height :The applet's height, in pixels.
• name : Specifies the applet name.