![]() ![]() ![]() A key is the name of the system property. The getProperty() method accepts a key as an argument. It provides the getProperty() method that finds the Java version. Using Java System ClassĪnother way to find the Java version is to use the System class. To resolve this problem, we must add the Java path to the system environment variable. If the above command shows 'java' is not recognized, it means the path is not properly set. Step 2: Type the following command in the prompt window and press enter key. Step 1: Open the Command Prompt by pressing Windows Key + R, type cmd and press enter key or click on the OK button. To find the Java version in CMD, follow the steps given below: 'Java Start Menu' 'Java Plug-in' 'Java Web Start' 'Java Update Feature' 'Option to Disable the 'JRE out of date' Warning' 'Installation of JRE on 64-Bit Windows Computers' See 'JDK 8 and JRE 8 Installation Start Here'for general information about installing JDK 8 and JRE 8. The Java provides -version option to check the Java version. Using Command Promptīy using the Command Prompt, we can easily find the Java version. Note: Before checking the Java version, ensure that Java is installed and the path is properly set. Downloading & Installing the JRE Installer on Windows platform: In a browser, go to the Java SE Runtime Environment 10 Downloads page. There are following ways to find the Java version in Windows: ![]() Java provides -version option to find the current JRE version. The first number in Java version represents the major version and the second number represents the release. In this section, we will learn how to check JRE version in Windows using CMD.Ī version string contains a version number optionally followed by pre-release and build information. Some of the applications generally require different version because of compatibility problems. There are different versions of Java is available. ![]()
0 Comments
Leave a Reply. |