Skip to content

Instantly share code, notes, and snippets.

@edubkendo
Created February 12, 2013 03:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edubkendo/4760079 to your computer and use it in GitHub Desktop.
Save edubkendo/4760079 to your computer and use it in GitHub Desktop.
Working example of jnlp file for JRubyFX executable jar, to run with WebStart
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jnlp xmlns:jfx="http://javafx.com" codebase="" href="hello.jnlp" spec="1.0+">
    <information>
        <title>HelloWebStart</title>
        <vendor>myself</vendor>
        <homepage href=""/>
        <description>HelloWebStart</description>
        <description kind="short">HelloWebStart</description>
    <offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
  <jfx:javafx-runtime version="2.2+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
</resources>
<resources>
  <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
  <jar href="/home/eric/projects/jrubyfx_projects/test/HelloWebStart/hello.jar" size="20377345" download="eager" />
</resources>
<application-desc main-class="org.jruby.JarBootstrapMain"/>
</jnlp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment