📜  如何在 cmd 中知道 java 版本 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:21.939000             🧑  作者: Mango

代码示例2
// If you have the Java Runtime Environment (JRE) version installed, run this command on your terminal(Command Prompt - for windows):
java -version

// If you have the Java Compiler version installed, run this command [still on your terminal(Command Prompt - for windows)]:
javac -version