天天看點

Options -Xverify:none and -noverify were deprecated in JDK 13

将idea 的jdk設定為16版,之後再運作項目時,提示:

Java HotSpot(TM) 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.

這樣的問題。它的意思是:

Java HotSpot(TM)64位伺服器VM警告:選項-Xverify:none和-noverify在JDK 13中已被棄用,并可能在将來的版本中删除。

我以為在我的 菜單 ---> Help ---> Edit Custom VM Options ...  中有這麼一個配置, 點開後發現沒有。  但它是從哪裡出來的呢?

原來是這裡:

Options -Xverify:none and -noverify were deprecated in JDK 13

把箭頭所指的地方的勾去掉,就不會報上面的警告資訊了。 

Options -Xverify:none and -noverify were deprecated in JDK 13

繼續閱讀