Java check latest version programmatically

前端 未结 9 1680
不思量自难忘°
不思量自难忘° 2020-12-14 02:36

Goal: check java\'s version on a machine (I can get this from java -version). Compare it with latest available from java website

I woul

9条回答
  •  渐次进展
    2020-12-14 03:15

    System.getProperty("java.vm.specification.version");
    System.getProperty("java.version");
    

提交回复
热议问题