forked from NASAWorldWind/WorldWindJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJavaWebStartTemplate.jnlp
More file actions
57 lines (51 loc) · 2.6 KB
/
JavaWebStartTemplate.jnlp
File metadata and controls
57 lines (51 loc) · 2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2012 United States Government as represented by the Administrator of the
~ National Aeronautics and Space Administration.
~ All Rights Reserved.
-->
<!--
~ Example configuration file for a Java Web Start application that uses the WorldWind Java SDK. Replace everything in
~ all caps below with your own information.
-->
<jnlp spec="1.0+" codebase="" href="JavaWebStartTemplate.jnlp">
<!--
Provides a description of this application.
-->
<information>
<title>APP TITLE</title>
<vendor>YOUR VENDOR NAME</vendor>
<homepage href="YOUR WEB PAGE, E.G., example.com/myapp"/>
<description>APP DESCRIPTION</description>
<description kind="short">LONGER APP DESCRIPTION, CAN ASSUME THERE'S ROOM FOR A PARAGRAPH</description>
<offline-allowed/>
</information>
<!--
Requests a trusted application environment. The WorldWind SDK core library requires access to the network and
the local filesystem. All WorldWind JAR files are signed with a digital signature associated with NASA. The
application's JAR files must also be signed with a digital signature. The application's signature may be
different from the WorldWind signature, provided that the WorldWind JAR files are loaded by extension as shown
below.
-->
<security>
<all-permissions/>
</security>
<!--
Specifies the resources required by the WorldWind SDK core library:
* Java Runtime Environment version 1.6 or newer, with a maximum heap size of at least 1024 MB. The WorldWind SDK
requires at least 1024 MB of heap space. This heap size must be specified in the application's Web Start file.
* Application Jar file. This downloads and adds the application's JAR file to the class path at runtime.
* WorldWind core Java Web Start component. This downloads and adds the WorldWind SDK core JAR file and its
dependencies ot the class path at runtime.
-->
<resources>
<java version="1.7+" max-heap-size="1024m"/>
<jar href="YOUR APPLICATION JAR FILE NAME, e.g., MyApp.jar" main="true"/>
<extension name="worldwind" href="https://worldwind.arc.nasa.gov/java/2.1.0/webstart/worldwind.jnlp"/>
</resources>
<!--
Indicates that this Java Web Start file describes an application. The main-class element indicates the class
who's main method is executed when this Web Start file launches.
-->
<application-desc main-class="YOUR APPLICATION MAIN CLASS, e.g., com.example.MyBasicDemo"/>
</jnlp>