Driver update to ojdbc7.jar gives error for oracle/security/pki/OraclePKIProvider

∥☆過路亽.° 提交于 2019-12-05 09:33:46

Check your classpath and make sure you remove the following: (if it exists)

-XX:-UseSplitVerifier

This is an issue recorded in the Oracle Support Database. If you have Oracle Support, you can find out more there. If not...

As Joseph Carroll states, removing the -XX:-UseSplitVerifier from your command line Java arguments might solve your problem. The UseSplitVerifier argument basically tells Java to use an earlier, less stringent, byte code verifier (which was sometimes used to get older byte code instrumentation tools to work when upgrading from Java 6 to Java 7). Unfortunately, it caused some problems when upgrading certain tools from Java 7 to Java 8. Other things you might do include (per Oracle):

  1. Upgrade to a java 7 compatible bytecode instrumentation tool.
  2. Or, as a workaround, include oraclepki_121020.jar in the classpath. This is a valid workaround in case upgrading to a java 7 compatible bytecode instrumentation tool is not possible.

This article talks about why -XX:-UseSplitVerifier was added for using Java 7 with Oracle. This article talks about using the –noverify flag with Java 8 instead of -XX:-UseSplitVerifier.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!