Deploy MapObjects-Java applications using Java Web Start Technology

Last Published: April 25, 2020


Instructions provided describe how to deploy a custom MapObjects-Java application using Sun Microsystems' Java Web Start technology.


Follow the steps below:

  1. Select the necessary jar files:

    To deploy a custom application create a jar file or files of the actual application code and any MapObjects-Java jar files that are necessary to run the application.

  2. Sign the jars:

    All the jars selected in Step 1 need to be signed and a valid certificate should be associated with them. For more information on how to do this, refer to Step 11 through Step 13 in the following article.
    <a href='' target='_blank'>How To: Deploy MapObjects—Java in an applet using the Java Extensions mechanism</a> The article refers to signing jar files for use in applets, but the process is the same for Java Web Start.
  3. Create a .jnlp file:

    Once all the jars are signed and certified, the deployment configuration or the .jnlp file can be created.

    A sample .jnlp file appears as:

    <jnlp spec="1.0" codebase="http://localhost:8080/examples/demos/" href="demo.jnlp">
    <title>MapObjects Java</title>
    <vendor>Environmental Systems Research Institute</vendor>
    <homepage href=""/>
    <description kind="short">A demo of some capabilities of MOJ 2.0.1</description>
    <icon href="images/splash.gif"/>
    <icon kind="splash" href="images/splash.gif"/>
    <j2se version="1.4+" java-vm-args="-Xmx256m"/>
    <jar href="jars/application.jar"/>
    <jar href="jars/esri_mo20res.jar"/>
    <extension name="demo1-ext" href="demo1.jnlp"/>
    <application-desc main-class="webstart1.Application1"/>

    In this example, the .jnlp files point to another .jnlp file called demo1.jnlp. This is done because different certificates were used to sign each jar and this requires different .jnlp files.
  4. Host the file on any server. The application can be distributed using Java Web Start technology.

Article ID:000007198

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic