title: Java SecurityException Cannot locate policy or framework files after updating to latest version
body: <p>Here's how I launch java</p>
  
  <pre><code>java -Djava.rmi.server.hostname=myhostname \
      -Djava.security.policy=/myprogram/java.policy \
      -Dcom.ibm.tools.attach.enable=no -jar \
      /myprogram/myjar.jar
  </code></pre>
  
  <p>and the contents of <code>java.policy</code> is</p>
  
  <pre><code>grant codeBase "file:/myprogram/myjar.jar" {
    permission java.security.AllPermission;
  };
  </code></pre>
  
  <p>I installed a new version of IBM Java</p>
  
  <pre><code># rpm -qi java-1_8_0-ibm
  Version     : 1.8.0_sr5.10
  Release     : 30.24.1
  Source RPM  : java-1_8_0-ibm-1.8.0_sr5.10-30.24.1.nosrc.rpm
  Build Date  : Sun 18 Mar 2018 02:44:37 PM MDT
  </code></pre>
  
  <p>And now I'm getting this error message</p>
  
  <pre><code>Caused by: java.lang.SecurityException: Cannot locate policy or framework files!
      at javax.crypto.b.c(Unknown Source)
      ...
  </code></pre>
  
  <p>The previous version I was using was not showing the same failure</p>
  
  <pre><code># rpm -qi java-1_8_0-ibm
  Version     : 1.8.0_sr5.10
  Release     : 30.16.1
  Source RPM  : java-1_8_0-ibm-1.8.0_sr5.10-30.16.1.nosrc.rpm
  Build Date  : Tue 27 Feb 2018 10:22:44 AM MST
  </code></pre>
  
  <p>The release notes say</p>
  
  <ul>
  <li><p>Fri Mar 16 2018 pmonrealgonzalez <em>at</em> suse <em>dot</em> com</p>
  
  <ul>
  <li>Fixed priorities of alternatives [bsc#1085018]</li>
  </ul></li>
  <li><p>Wed Mar 14 2018 pmonrealgonzalez <em>at</em> suse <em>dot</em> com</p>
  
  <ul>
  <li>Fixed symlinks to policy files on update [bsc#1085018]</li>
  </ul></li>
  </ul>