![java jdk安装验证](https://i-blog.csdnimg.cn/blog_migrate/770b7eef9f85dba1a4428d0331a1fc6b.png)
java jdk安装验证
Java Runtime Environment is used to run Java applications. Java Runtime Environment is called JRE. There are different versions of JRE most recent major versions are 6,7,8. Some of the applications generally require a different version because of comp ability problems. In this tutorial, we will look at how to get JRE or Java versions from various operating systems. If you want to learn JRE and differences with JDK please read the following tutorial.
Java运行时环境用于运行Java应用程序。 Java运行时环境称为JRE。 JRE有不同的版本,最新的主要版本是6,7,8。 由于兼容性问题,某些应用程序通常需要不同的版本。 在本教程中,我们将研究如何从各种操作系统中获取JRE或Java版本。 如果您想学习JRE及其与JDK的区别,请阅读以下教程。
Java JDK vs JRE What Are Differences and Similarities?
Java或JRE版本号 (Java or JRE Version Numbers)
Java uses a bit different version numbers. All java versions first numbers is 1
actual major version numbers change according to release which is current 8
. Example Java version number is like below.
Java使用的版本号略有不同。 所有Java版本的第一个数字是1
实际的主要版本号根据当前版本而变化,当前版本为8
。 示例Java版本号如下所示。
1.8.0_99
1.8.0_99
从命令行确定Windows中的Java版本 (Determine Java Version in Windows From Command Line)
We have different methods to determine Java or JRE version in windows. The first way is running java
command in command line with version information. We will also provide -version
option like below.
我们有不同的方法来确定Windows中的Java或JRE版本。 第一种方法是在命令行中使用版本信息运行java
命令。 我们还将提供如下所示的-version
选项。
> java -version
![Determine JAVA Version in Windows](https://i-blog.csdnimg.cn/blog_migrate/5f80d86c9c08d1971abe3fbd01406289.png)
We can see that cırrent JRE or Java version is 1.8.0_144
. Here we can call 8
as a major version number.
我们可以看到cırrentJRE或Java版本是1.8.0_144
。