适用于Windows(Windows)计算机和设备的Java 运行时(Java runtime)软件负责允许我们运行使用Java开发的程序和应用程序。由于许多应用程序仍在使用Java,因此您可能已经在Windows PC 上安装了它。可能是因为您过去安装了它,或者因为某些软件要求您安装它,或者因为您的 PC 制造商为您预先安装了它,Java可能就在那里。您(Did)是否问过自己您使用的是什么版本的Java?如果您这样做了,请阅读本文,我们将向您展示三种不同的方法来查找您安装的Java版本。(Java)
注意:(NOTE:)我们在本文中分享的方法适用(article work)于所有现代Windows操作系统:Windows 10、Windows 8.1 和Windows 7。
1.使用About Java 快捷方式(About Java shortcut)查找您拥有的Java版本(Java)
要查找安装在您的计算机或设备上的(computer or device)Java 版本(Java version),在Windows 10和Windows 7中,您可以使用“开始”菜单(Start Menu),如果您使用 Windows 8.1,则可以使用“开始(Start)”屏幕。
在 Windows 10 中,从“开始”菜单打开“(Start Menu)所有应用程序”(All apps")列表,然后查找名为Java的文件夹。在里面,单击或点击About Java。
在 Windows 7 中,打开开始菜单(Start Menu),单击所有程序(All Programs)并滚动直到找到Java文件夹。展开它,然后单击About Java。
在 Windows 8.1 中,切换到“开始(Start)”屏幕并打开“应用程序(Apps )”列表。找到名为Java的快捷方式文件夹,打开它,然后单击/点击About Java。
在我们上面提到的所有Windows操作系统中,一旦您单击或点击“关于 Java(About Java) ”快捷方式,就会打开一个同名的小窗口。在这里,您可以看到安装在您的计算机或设备上的(computer or device)Java版本。在我们的示例中,我们使用Java 版本 8(Java Version 8)更新 121(Update 121)或构建 1.8.0_121-b13。
2.使用控制面板查找您拥有的(Control Panel)Java版本(Java)
您还可以使用控制面板(Control Panel)查看您安装的Java版本。(Java)此方法在所有现代版本的Windows中也同样适用。
在控制面板(Control Panel)中,切换到经典图标视图。您可以通过点击右上角的“查看方式:类别”(View by: Category")菜单来做到这一点。选择大图标(Large Icons)或小图标(Small Icons)。
然后滚动直到找到一个名为Java的图标,然后单击或点击它。
将打开一个名为Java Control Panel(Java Control Panel)的新窗口。在“常规(General)”选项卡上,您将看到“关于(About )”部分,告诉您可以“查看有关 Java 控制面板的版本信息”。("View version information about Java Control Panel.")单击或点击右侧的“关于...”(About…")按钮。
“关于 Java(About Java) ”窗口打开,您可以看到安装在您的Windows 计算机或设备上的(Windows computer or device)Java版本。
3.使用文件资源管理器(File Explorer)查找您拥有的Java版本(Java)
查找已安装在Windows 计算机或设备上的(Windows computer or device)Java版本的第三种方法是使用文件资源管理器(File Explorer)。打开它,然后使用它导航到此路径:"C:\Program Files (x86)\Java"。在Java文件夹中,您将看到一个名称与此类似的子文件夹:jre1.8.0_121。打开它,然后打开里面的bin文件夹。
在bin文件夹中,找到并双击或双击名为javacpl.exe的文件。例如,在我们的例子中,整个路径是"C:\Program Files (x86)\Java\jre1.8.0_121\javacpl.exe"。
启动javacpl.exe文件,Java 控制面板(Java Control Panel)随即打开。在“常规(General)”选项卡上,您将看到“关于(About )”部分,它告诉您可以“查看有关 Java 控制面板的版本信息”。("View version information about Java Control Panel.")单击或点击右侧的“关于...”(About…")按钮。
“关于 Java(About Java) ”窗口打开,您可以看到已安装的Java版本。(Java)
注意:您将在(NOTE:)"C:\Program Files (x86)\Java" 中找到的子文件夹有一个有趣的名称。在其名称的jre(jre)部分后面使用的数字是安装在您的Windows 设备上的(Windows device)Java的构建版本。例如,如果此文件夹名为jre1.8.0_121,则意味着您拥有 Java 构建版本 1.8.0_121(version 1.8.0_121)。从构建版本中删除第一个 1,您将知道已安装的Java 版本(Java version)。例如,我们的版本是 8 (version 8)build 121。
结论
现在您知道如何查找安装在您的Windows 计算机或设备上的(Windows computer or device)Java版本,无论您使用的是 Windows 10、Windows 8.1 还是 Windows 7。您知道查找此信息的其他方法吗?不要忘记在下面的评论中与我们分享它们。
What version of Java do I have installed? 3 Ways to learn the answer
The Java runtime software for Windows compυtеrs and devices is reѕponsible for allowing us to run programs and аpps that were deνeloped using Java. Because many аpps still uѕe Java, you probably already have it installed on your Windows РC. Either because you've instаlled it in the past, becaυse some sоftware asked you to, or because your PC's mаnufacturer pre-installed it for you, Java is probably there. Did you ask yourself what version of Java you are usіng? If you did, read this article, and wе'll show you three different methods for finding whаt version оf Java you have installed.
NOTE: The methods that we share in this article work in all modern Windows operating systems: Windows 10, Windows 8.1, and Windows 7.
1. Find what version of Java you have, using the About Java shortcut
To find the Java version installed on your computer or device, in Windows 10 and Windows 7, you can use the Start Menu, and, if you use Windows 8.1, you can use the Start screen.
In Windows 10, open the "All apps" list from the Start Menu and look for a folder called Java. Inside, click or tap About Java.
In Windows 7, open the Start Menu, click All Programs and scroll until you find the Java folder. Expand it, and then click on About Java.
In Windows 8.1, switch to the Start screen and open the Apps list. Find the shortcuts folder called Java, open it, and then click/tap on About Java.
In all the Windows operating systems we've mentioned above, once you click or tap on the About Java shortcut, a small window bearing the same name opens. Here you can see the version of Java that's installed on your computer or device. In our example, we are using Java Version 8 Update 121 or build 1.8.0_121-b13.
2. Find what version of Java you have, using the Control Panel
You can also use the Control Panel to see what version of Java you have installed. This method also works the same in all the modern versions of Windows.
In the Control Panel, switch to the classic icons view. You can do that with a click tap on the "View by: Category" menu at the top-right. Select Large Icons or Small Icons.
Then scroll until you find an icon called Java and click or tap on it.
A new window opens, called Java Control Panel. On the General tab, you'll see an About section which tells you that you can "View version information about Java Control Panel." Click or tap on the "About…" button to the right.
The About Java window opens, and you can see the version of Java that's installed on your Windows computer or device.
3. Find what version of Java you have, using File Explorer
A third way of finding the version of Java that you have installed on your Windows computer or device is to use File Explorer. Open it and then use it to navigate to this path: "C:\Program Files (x86)\Java". Inside the Java folder, you will see a single subfolder that has a similar name to this: jre1.8.0_121. Open it and then open the bin folder inside.
In the bin folder, locate and double-click or double-tap the file called javacpl.exe. For instance, in our case, the whole path is "C:\Program Files (x86)\Java\jre1.8.0_121\javacpl.exe".
Launch the javacpl.exe file, and the Java Control Panel opens. On the General tab, you'll see the About section which tells you that you can "View version information about Java Control Panel." Click or tap the "About…" button to the right.
The About Java window opens, and you can see the version of Java that's installed.
NOTE: The sub-folder that you'll find in "C:\Program Files (x86)\Java" has an interesting name. The numbers used after the jre part of its name are the build version of the Java installed on your Windows device. For instance, if this folder is called jre1.8.0_121, that means that you have Java build version 1.8.0_121. Remove the first 1 from the build version, and you'll know the Java version that's installed. For instance, ours is version 8 build 121.
Conclusion
Now you know how to find the version of Java that's installed on your Windows computer or device, regardless of whether you use Windows 10, Windows 8.1 or Windows 7. Do you know of other methods of finding this information? Don't forget to share them with us too, in the comments below.