程序 查看 jvm版本

 System.getProperty("java.version")返回你所需要的。

原文地址:https://www.cnblogs.com/kakaisgood/p/8000520.html