A key is the name of the system property.Oracle's Java Runtime Environment (JRE) for 64-bit Windows PCs contains the Java Virtual Machine, software libraries, components, and plug-ins that tons of programs, media, and Web sites need to display advanced multimedia content and animation. 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: 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. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |