Skip to content
Advertisement

OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release

I’m starting a new Spring 5 project with Java 14. It compiled, but gave me a warning:

OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release

Any ideas how to solve it?

Advertisement

Answer

It’s just a warning because JVM’s verifies are much faster then before. If you are really not willing to see that, you could just remove -Xverify:none and -noverify from your JVM options.

In IDEA you can do that like this: In “edit configuration”, select your application, and uncheck “Enable launch optimization” in the right panel. Then start your application, the warning will be disappeared but launch optimization is disabled.

enter image description here

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement