edubkendo
2/12/2013 - 3:41 AM

Working example of jnlp file for JRubyFX executable jar, to run with WebStart

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>