title: Deployment Rule Set Required Java version not available
body: <p>Hi I am running windows 7 on a 32 bit machine and I recently upgraded to Java 1.7.0_51 and now I can't access certain java applets. I have tried to configure the Deployment Rule Set by following this tutorial </p>
  
  <p><a href="http://wraithhacker.com/java-deployment-rule-set/" rel="nofollow">http://wraithhacker.com/java-deployment-rule-set/</a></p>
  
  <p>and I pretty much got everything working as illustrated. However when I try to visit the application I get the error that Application Blocked by Deployment Rule Set. Deployment Rule Set required Java version 1.6.0_45 not available. </p>
  
  <p>I Not also the Java Console does not show up at all. </p>
  
  <p>The Java versions installed on my system from the is 1.6.0_29 and 1.6.0_22 I have tried both in my ruleset.xml file but they haven't worked.</p>
  
  <pre><code>`&lt;ruleset version="1.0+"&gt;
    &lt;rule&gt;
      &lt;id location="https://10.0.0.1" /&gt;
     &lt;action permission="run" version="1.6.0_22" /&gt;
    &lt;/rule&gt;
    &lt;rule&gt;
      &lt;id location="http://www.customs.gov.dm/" /&gt;
      &lt;action permission="run" version="1.6.0_22" /&gt;
    &lt;/rule&gt;
    &lt;rule&gt;
      &lt;id /&gt;
      &lt;action permission="block"&gt;
        &lt;message&gt;Blocked by NTRC Management&lt;/message&gt;
      &lt;/action&gt;
    &lt;/rule&gt;
  &lt;/ruleset&gt;`
  </code></pre>
  
  <p>c:\Program Files\Java\jre1.6.0_22\bin>java -version
  java version "1.6.0_22"
  Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
  Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)</p>
  
  <p>C:\Sites>java -version
  java version "1.7.0_51"
  Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
  Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)</p>
  
  <p>So I am sure that I have both versions of Java installed. </p>
  
  <p>However if you go to java control panel and view the JNLP file I notice the following line</p>
  
  <pre><code>&lt;java initial-heap-size="67108864" max-heap-size="268435456" java-vm-args="-XX:MaxNewSize=1024k" version="1.5+"/&gt;
  </code></pre>
  
  <p>and for the other applet I notice the following</p>
  
  <pre><code>&lt;java initial-heap-size="536870912" max-heap-size="1073741824" href="http://java.sun.com/products/autodl/j2se" version="1.6.0_16"/&gt;
  &lt;java initial-heap-size="536870912" max-heap-size="1073741824" href="http://java.sun.com/products/autodl/j2se" version="1.6.0_20"/&gt;
  </code></pre>
  
  <p>I read somewhere that this might be the problem as the JRE must be an exact match. Does this hold any validity? Any help would be much appreciated. Thanks</p>