0 Replies Latest reply on Aug 21, 2013 11:12 AM by PedroBettReis

    JavaFX app keeps using JavaFX 2.2.2 runtime despite forced to 2.1 in jnlp


      We have a javafx application hosted in a web page.
      The javascript used to deploy is configured like this:

             /** some parameters **/
                  javafx : '2.1*',
             jvm: "1.6.0_30+"    
        onJavascriptReady: applicationReady,
        onGetSplash: getSplash


      The jnlp:

      <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="App.jnlp">
          <jfx:javafx-runtime version="2.1*" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
          <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
        <applet-desc  width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback"  name="App" >
          <param name="requiredFXVersion" value="2.1*"/>
        <jfx:javafx-desc  width="800" height="600" main-class="com.MainEngine"  name="" App/>
        <update check="background"/>


      Has you can see, the javafx runtime is defined as 2.1*.
      Still, at startup the java console shows:

      Match: digest selected JREDesc: JREDesc[version 1.6+, heap=-1--1, args=null, href=http://java.sun.com/products/autodl/j2se, sel=false, null, null], JREInfo: JREInfo for index 0:
          platform is: 1.6
          product is: 1.6.0_37
          location is: http://java.sun.com/products/autodl/j2se
          path is: C:\Program Files\Java\jre6\bin\javaw.exe
          args is: null
          native platform is: Windows, x86 [ x86, 32bit ]
          JavaFX runtime is: JavaFX 2.2.21 found at C:\Program Files\Oracle\JavaFX 2.2 Runtime\
          enabled is: true
          registered is: true
          system is: true


      Shouldn't the java webstart download, install and run the JavaFX runtime 2.1?