<?xml version="1.0" encoding="utf-8"?>
<!-- example JNLP file, not totally realistic -->
<!-- no official DOCTYPE for 1.5 -->

<!-- where the jnlp file lives on the web -->
<jnlp spec="1.5+" codebase="http://www.mindprod.com/webstarts" href="esper.jnlp" version ="1.9">
<information>
  <title>Esperanta Tradukilo Vortope 1.9</title>

  <vendor>Canadian Mind Products</vendor>
  <homepage href="webstart/esper.html" />

  <description>Word for word Esperanto to/from English translator.</description>
  <description kind="short">Looks up words on local and Internet Esperanto dictionaries.</description>

  <!-- hover help for this app. Tradukilo means translating tool in Esperanto -->
  <description kind="tooltip">Tradukilo</description>

  <!-- gif or jpg only, no pngs in 1.5. Transparency does not work. Rectangular icons will be badly stretched. -->
  <!-- relative to codebase -->
  <icon href="../images/espericon64.gif" width="64" height="64" kind="default" />
  <icon href="../splash.gif" kind="splash" />

  <!-- allow app to run without Internet access -->
  <offline-allowed />

  <!-- request that the JAWS app be hooked up as the official OS handler of a given file type -->
  <!-- note the plural extensions, but always a single value -->
  <association mime-type="application/rtf" extensions="rtf" />
  <association mime-type="image/wavelet" extensions="wi" />

  <!-- hints for setting up shortcuts -->
  <!-- Prefer a shortcut for online operation -->
  <shortcut online="true">
    <!-- create desktop shortcut -->
    <desktop />
    <!-- create menu item for this app under the major heading Esperanto -->
    <menu submenu="Esperanto" />
  </shortcut>

</information>

<security>
  <all-permissions />
</security>

<resources>
  <!-- Acceptable JVMs in preferred order, best first -->
  <!-- Sun JVM -->
  <j2se version="1.6.0_10" href="http://java.sun.com/products/autodl/j2se" java-vm-args="-ea" initial-heap-size="128m" max-heap-size="512m" />
  <j2se version="1.6.0_07" href="http://java.sun.com/products/autodl/j2se" java-vm-args="-ea" initial-heap-size="128m" max-heap-size="512m" />
  <j2se version="1.6+"     href="http://java.sun.com/products/autodl/j2se" java-vm-args="-ea" initial-heap-size="128m" max-heap-size="512m" />
  <!-- allow any vendor -->
  <j2se version="1.6+"     java-vm-args="-ea" initial-heap-size="128m" max-heap-size="512m" />
  <j2se version="1.5+"     href="http://java.sun.com/products/autodl/j2se" java-vm-args="-ea" initial-heap-size="128m" max-heap-size="512m" />
  <!-- allow any vendor -->
  <j2se version="1.5+"     java-vm-args="-ea" initial-heap-size="128m" max-heap-size="512m" />

  <!-- application code, load before launch. JNLP 1.6 main="true" indicates jar with main class -->
  <jar href="esper.jar" main="true" download="eager" />

  <!-- data dictionaries in compressed form, load as needed.  -->
  <jar href="dicts.jar" main="false" download="lazy" />

  <!-- aux JNLP to describe the installer -->
  <extension name="Installer" href="esperinstaller.jnlp"/>

  <!-- set a -D system property -->
  <property name="flavour" value="strawberry" />
</resources>

<!-- JNI native Sun .so code -->
<resources os="SunOS" arch="sparc">
  <!-- relative to codebase -->
  <nativelib href="lib/solaris/corelibs.jar" />
</resources>

<!-- JNI native Windows .dll code -->
<resources os="Windows" arch="x86">
  <!-- relative to codebase -->
  nativelib href="lib/windows/corelibs.jar" />
</resources>

<!-- application class with main method -->
<application-desc main-class="com.mindprod.esper.Esperanto">
<!-- command line arguments -->
  <argument>Esperanto</argument>
  <argument>English</argument>
</application-desc>

<!-- <applet-desc would go here for applet -->

<!-- code run once on install to unpack dicts.jar as part of one-time install -->
<!-- this has to go in a separate JNLP file from application-desc. -->
<installer-desc main-class="com.mindprod.esper.Installer" />
</jnlp>