Run a JavaFX Application Outside a Browser Using Java Web Start

You can distribute your application over the Internet, but run it outside the browser - using the Java Web Start technology. Your application starts outside the browser when a user clicks a button on a webpage.

Create a JNLP file for a JavaFX application, then, using Java Web Start, you can deploy the JNLP file and other resources to your server so that the customers can access the application over the Internet. Use the following code in your JNLP page and name the file <application_name>.jnlp.

Source Code: Use Java Web Start to Run Application Outside a Browser
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="file:/<URL_to_jnlp_file>/" href="<application_name>.jnlp">

    <information>
        <title>App Name</title>
        <vendor>some_vendor</vendor>
        <homepage href=""/>
        <description>some_description</description>

        <offline-allowed/>
        <shortcut>
            <desktop/>
        </shortcut>
    </information>
    <resources>

        <j2se version="1.5+"/>
        <extension name="JavaFX Runtime" href="http://dl.javafx.com/1.3/javafx-rt.jnlp"/>
        <jar href="<Application_name>.jar" main="true"/>
    </resources>
    <application-desc main-class="<package_name_for_your_app>.Main">

    </application-desc>
</jnlp>

To start the application from a browser, provide a link to the <application_name>.jnlp file in your web page.