This section describes how you can deploy your Java application with JxBrowser library via Java Web Start (JWS). To deploy your application via JWS, please follow the following steps:

1. Pack your application classes into an application JAR file(s). For example myapp.jar.

2. Sign all JAR files used in your application (including all JxBrowser JARs and the license JAR file) with a valid signature. To sign JAR files you can use the jarsigner tool. For example.

jarsigner -keystore keystore_file -storepass storepass
    -keypass keypass myapp.jar alias

Note: make sure that you replace keystore_file, storepass, keypass, and alias with your own values.

Note: JxBrowser JAR files are not signed, so you need to sign them with the same signature you use for signing your application JAR files.

3. Create and configure your application JNLP file (e.g. myapp.jnlp) as described below:

<jnlp spec="1.6+" codebase="my_url" href="myapp.jnlp">
        <title>My Application</title>
        <vendor>My Company</vendor>
        <description>My Application Description</description>


        <j2se version="1.6+"/>
        <jar href="lib/myapp.jar"/>
        <jar href="lib/jxbrowser.jar" />
        <jar href="lib/license.jar" />

    <resources os="Windows">
        <jar href="lib/jxbrowser-win32.jar" />

    <resources os="Mac OS X">
        <jar href="lib/jxbrowser-mac.jar" />

    <resources os="Linux" arch="x86_64 amd64">
        <jar href="lib/jxbrowser-linux64.jar" />

Note: make sure that you replace codebase attribute value with a valid URL address of your web server where JAR files will be located.

Depending on the network speed it might take some time to download all JxBrowser JAR files. To speed up start up time of your Java Web Start application you might want to use the download="lazy" attribute of the jar element.

4. Upload all signed JAR files and the myapp.jnlp file to a web-server.