Which JRE am I using?

后端 未结 9 1226
暗喜
暗喜 2020-12-02 16:29

There are two varieties of JRE available. Java VM: IBM vs. Sun.

Is there a way to know which JRE I am using through JavaScript or some Java issued command.

9条回答
  •  忘掉有多难
    2020-12-02 17:02

    The following command will tell you a lot of information about your java version, including the vendor:

    java -XshowSettings:properties -version
    

    It works on Windows, Mac, and Linux.

提交回复
热议问题