This document describes the most commonly used elements of a JNLP file. For a complete description of the format, refer to the specification. The JNLP file is an. JSR – Java™ Network Launching Protocol and API Specification v 1 Java(TM) Network Launching Protocol (JNLP) Specification. In computing, Java Web Start is a framework developed by Sun Microsystems ( now Oracle) that . jnlp spec=”+” codebase=”” href=””> Launch applet with Web Start Foo Bar.
|Published (Last):||18 May 2008|
|PDF File Size:||20.15 Mb|
|ePub File Size:||4.85 Mb|
|Price:||Free* [*Free Regsitration Required]|
If offline-allowed is specifiedJava Web Start will also check to see if an update is available.
The default value is “1. Indicates that this RIA can operate when the client system is disconnected from the jn,p. It can have one of the following values:.
JNLP File Syntax
Exact product versions implementation versions may also be specified. The spedification of the class containing the public static void main String method of the installer. If offline-allowed is psecification, then the application can be launched offline by the Java Application Cache Viewer, and shortcuts can be created which launch the application offline. Specifies what version s of Java to run the application with. The main-class attribute is assigned the name of the Applet class without the.
The optional related-content element describes an additional piece of related content, such as a readme file, help pages, or links to registration pages, as a hint to a JNLP Client. The messages presented in the GUI will have to be localized.
JNLP File Syntax
This specification will define a mime type and default extension for the above encoding. A jar element specifies a JAR file that is part of the application’s classpath. The application, however, must be run online. How to specify a JRE range in jnlp file?
Can be used to indicate this jar jnll be downloaded lazily. Package name contained specifiation the jar files of the given part. The main-class attribute is assigned the name of the Applet class without the.
This document describes the most commonly used elements of a JNLP file. Optional width and height attributes can be used to indicate the size of the images. Contains a single attribute, hrefwhich is a URL locating the home page for the Application.
Java Network Launch Protocol
The jar and nativelib elements also allow a resource to be specified as lazy. A jar element specifies a JAR file sppecification is part of the application’s classpath. Can be used to indicate this extension may be downloaded eagerly or lazily. Denotes this is the jnlp file for a component extension.
For example, you could use multiple resources definitions, with different os attributes, to supply a native library for multiple operating systems.
The package and extension elements are not discussed in this developer’s guide. The format used in this release is that specified in JSR All JAR files must be signed.
java – How to specify a JRE range in jnlp file? – Stack Overflow
Specifies the architecture for which the resources element should be considered. An application runs independently of the browser in its own window and process, e. The name of the class containing the implementation of DownloadServiceListener, that may be used to indicate download progress.
The resources element is used to specify all the resources, such as Java class files, native libraries, and system properties, that are part of the application. The JNLP client is an application that runs locally on the client specificatiob. A description element without a kind is used as a default value.
A nativelib element specifies a JAR file that contains native libraries. Page rendering usually starts before all resources have downloaded; some resources not critical to the layout of the page such as images can follow on afterwards.