title: Keytool - java.lang.ExceptionInInitializerError
body: <p>I have installed IBM Java 8 and I am getting below exception when trying to run keytool command. Its even happening when just executing ./keytool.</p>
  <pre><code>Exception in thread &quot;main&quot; java.lang.ExceptionInInitializerError
          at java.lang.J9VMInternals.ensureError(J9VMInternals.java:147)
          at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:136)
  Caused by: java.lang.NullPointerException
          at com.ibm.oti.vm.AbstractClassLoader.findResourceImpl(AbstractClassLoader.java:210)
          at com.ibm.oti.vm.AbstractClassLoader.access$100(AbstractClassLoader.java:41)
          at com.ibm.oti.vm.AbstractClassLoader$2.run(AbstractClassLoader.java:250)
          at java.security.AccessController.doPrivileged(AccessController.java:678)
          at com.ibm.oti.vm.AbstractClassLoader.findResources(AbstractClassLoader.java:246)
          at java.lang.ClassLoader.getResources(ClassLoader.java:683)
          at java.lang.ClassLoader.getResources(ClassLoader.java:680)
          at java.util.ServiceLoader$LazyIterator.hasNextService(ServiceLoader.java:359)
          at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:404)
          at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:485)
          at sun.util.locale.provider.SPILocaleProviderAdapter$1.run(SPILocaleProviderAdapter.java:92)
          at sun.util.locale.provider.SPILocaleProviderAdapter$1.run(SPILocaleProviderAdapter.java:86)
          at java.security.AccessController.doPrivileged(AccessController.java:734)
          at sun.util.locale.provider.SPILocaleProviderAdapter.findInstalledProvider(SPILocaleProviderAdapter.java:86)
          at sun.util.locale.provider.AuxLocaleProviderAdapter.getLocaleServiceProvider(AuxLocaleProviderAdapter.java:82)
          at sun.util.locale.provider.LocaleProviderAdapter.findAdapter(LocaleProviderAdapter.java:296)
          at sun.util.locale.provider.LocaleProviderAdapter.getAdapter(LocaleProviderAdapter.java:266)
          at java.text.Collator.getInstance(Collator.java:274)
          at java.text.Collator.getInstance(Collator.java:238)
          at com.ibm.crypto.tools.KeyTool.&lt;clinit&gt;(Unknown Source)
  </code></pre>