Do Not Disable Bytecode Verification to Avoid a java.lang.VerifyError

(Doc ID 1291169.1)

Last updated on APRIL 01, 2017

Applies to:

Java SE JDK and JRE - Version 1.5.0 to 8
Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Symptoms

When running or compiling Java code, a java.lang.VerifyError might be encountered.  Disabling the bytecode verifier is one method of dealing with the error.  Additionally:

Changes

Such environments set the option -Xverify:none or -noverify or even both.  For example:

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms