1 Reply Latest reply: Sep 19, 2013 4:53 AM by Charon RSS

    Deployment Rule Sets in JRE 1.7.0_40

    Charon

      Hello,

       

      im am experimenting with the new "Deployment Rule Set" feature of the JRE 1.7.0_40 and encountered a small problem I don't understand.

       

      I have the JRE's 1.7.0_40 and 1.6.0_45 installed on the Client.

       

      My "ruleset.xml" looks like this:

      <ruleset version="1.0+">
       <rule>
        <id location="http://myserver/" />
        <action permission="run" version="1.6" />
       </rule>
      </ruleset>
      

       

      If I start an applet from "myserver" it tells me, that a JRE of version 1.6 can not be found. If I change the rule to <action permission="run" version="1.6.0_45" /> everything works as expected. An entry with <action permission="run" version="1.6+" /> works too, but starts the JRE 1.7.0_40 (which I can't use due to incompatibilities in the applet).

       

      The documentation (http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/deployment_rules.html) says, that I can specify my required version as just "1.6".

       

      Anybody got an idea what I am doing wrong here? I can't use version="1.6.0_45" since there are clients with different 1.6 version. Actually the best would be if I could specify "any 1.6 jre, but at least 1.6.0_24".

       

      Thanks in advance

      Markus

        • 1. Re: Deployment Rule Sets in JRE 1.7.0_40
          Charon

          I found a solution! But it is not documented so I have no idea if it is supported at all:

          <ruleset version="1.0+">
               <rule>
                    <id location="http://myserver/" />
                    <action permission="run" version="1.6.0_*" />
               </rule>
          </ruleset>
          

           

           

          I can live with this. Beeing able to specify the minimal number of the update would be the icing on the cake though.

           

          Regards

          Markus