java jdk安装验证_如何查找和验证已安装的Java运行时版本?
java jdk安装验证_如何查找和验证已安装的Java运行时版本?
java jdk安装验证_如何查找和验证已安装的Java运行时版本?
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 JDK vs JRE有什么区别和相似之处?
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
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

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
。 在这里,我们可以将8
称为主要版本号。
We can use the Java menu which resides in the Control Panel.
我们可以使用“控制面板”中的Java菜单。

And then In the General
tab click to About
button. This will open a new window that will provide information about the current Java or JRE version.
然后在“ General
选项卡中,单击“ About
按钮。 这将打开一个新窗口,其中将提供有关当前Java或JRE版本的信息。

We can see and get the following information.
我们可以看到并获得以下信息。
Version 8
specifies the main version of Java which is 8 in this example.Version 8
指定Java的主要版本,在此示例中为8。Update 144
specifies the minor version which numbered as 144.Update 144
指定编号为144的次要版本。
We will use java
command from the command line to get information about Java or JRE installation of Linux distributions.
我们将从命令行使用java
命令来获取有关Linux发行版的Java或JRE安装的信息。
$ java -version

We can see that a lot of information about Java and the platform is provided.
我们可以看到提供了许多有关Java和平台的信息。
openjdk version "1.8.0_131"
is the current version of Java. We can see that the Java implementation is OpenJDK which is an open version of Java for Linux distributions.openjdk version "1.8.0_131"
是Java的当前版本。 我们可以看到Java实现是OpenJDK,它是针对Linux发行版的Java的开放版本。ubuntu
is the operating system where Java is created.ubuntu
是创建Java的操作系统。OpenJDK 64-Bit Server VM
specifies the Java CPU architecture which is 64 bit.OpenJDK 64-Bit Server VM
指定了64位的Java CPU体系结构。
We can also use the currently installed Java version from the web. We will navigate to the following URL which is provided by Oracle Java. We will see a screen like below. First, we will click on the Agree and Continue
button.
我们还可以使用Web上当前安装的Java版本。 我们将导航到Oracle Java提供的以下URL。 我们将看到如下屏幕。 首先,我们将单击“ Agree and Continue
按钮。
https://www.java.com/en/download/installed.jsp
https://www.java.com/cn/download/installed.jsp

For security reasons, current popular browsers have disabled the Java or JRE by default. So Google Chrome, Mozilla Firefox, etc. will show a warning like Java is disabled or not installed
. If Java is enabled for browser we will see the current version of Java without a problem.
出于安全原因,当前流行的浏览器默认情况下已禁用Java或JRE。 因此Google Chrome,Mozilla Firefox等将显示警告,例如Java is disabled or not installed
。 如果为浏览器启用了Java,我们将看到Java的当前版本,而不会出现问题。

翻译自: https://www.poftut.com/how-to-find-and-verify-installed-java-runtime-version/
java jdk安装验证
java jdk安装验证_如何查找和验证已安装的Java运行时版本?相关教程
-
SpringBoot-(2)安装和使用apidoc生成接口文档
SpringBoot-(2)安装和使用apidoc生成接口文档 apidoc的安装和使用 apidoc能做什么 apidoc是一个轻量级的在线REST接口文档生成系统,可以根据其特定的规则的代码注释来生成静态网页。首先看下它生成的文档界面和风格。 1 node的安装 首先,去node.js官网上下载
-
tar.gz源代码包安装_如何安装Tar.Gz或Tar.Bz2应用程序源代码?
tar.gz源代码包安装_如何安装Tar.Gz或Tar.Bz2应用程序源代码? tar.gz源代码包安装 As a systems administrator I generally use package managers to install software. But in some situations I can not use package manager because provided software ve
-
Linux安装卸载R服务及Rstudio。
Linux安装,卸载R服务及Rstudio。 我是root用户,环境是CentOS-7-x86_64-Everything-1611.iso。 查看系统版本 cat /proc/version Linux系统分为两种: 1.RedHat系列:Redhat、Centos、Fedora等 2.Debian系列:Debian、Ubuntu等 RedHat系列的包管理工具是yum
-
debian安装kali_如何在Ubuntu,Debian,Kali,Mint中安装,启动
debian安装kali_如何在Ubuntu,Debian,Kali,Mint中安装,启动,停止,重新启动OpenSSH?... debian安装kali Ubuntu is popular Linux distributions used by millions. In order to access Ubuntu systems remotely we use ssh protocol. So in order to ac
-
如何在Windows上安装和配置Openssl Suite
如何在Windows上安装和配置Openssl Suite OpenSSL is very popular security library and tool. OpenSSL provides a lot of security algorithms, standards, protocols as library and tool. OpenSSL mainly developed in the Free software and Linux commu
-
操作系统 安装gcc,完成hello.c,fork.c,processes.c,communicati
操作系统 安装gcc,完成hello.c,fork.c,processes.c,communication.c 今日作业如下: 首先先检查一下是否有gcc(虽然一般都没有) gcc --version 然后就会报错(啊好还没装呢) 然后输入 sudo apt-get install build-essential 再输入一次查看 gcc --version
-
2017省赛javaA组----包子凑数(编程)
2017省赛javaA组----包子凑数(编程) 在这里a表示解集(也就是本文中每种选法的次数) 有解: 若a0,a1,...,an互质,即它们的最大公约数为1,此时优解 无解: a0,a1,...,an不互质 即:我们只需计算它们的公约数是否等于1,来判断是否有解 下面的数组元素dp[i]
-
EditPlus配置及“换水”操作(Java入坑)4
EditPlus配置及“换水”操作(Java入坑)4 百度下载一个EditPlus工具 第二步: 第三步: 编译执行功能配置完成 编写Demo.java文件 方法一 class Demo{public static void main(String[] args){int firstNum = 10;int lastNum = 20;int temp = firstNum;firstN