Programmatically determine what JDK/JRE's are installed on my box

前端 未结 3 1278
旧时难觅i
旧时难觅i 2021-01-02 06:18

Is there a standard way to do this? I realize this can be somewhat platform dependent. Our product right now is only supported on Windows - so I suppose that\'s what I\'m

3条回答
  •  不知归路
    2021-01-02 06:45

    System.out.println(System.getProperty("java.version"));
    

    Other properties here

提交回复
热议问题