How To Find What Version Of Java Is Installed
Introduction
Java runs many of the applications that we apply daily. Many applications cannot run on older versions of Java. Hence, it is essential to know which version is installed on your system.
In this tutorial, learn how to bank check the Java version on your Mac or Windows organization.
Prerequisites
- A organisation running macOS or Windows
- Access to the command-line/last window
- A version of Java installed
Check Java Version on Mac
You lot can find the version of Coffee on macOS by:
- using the GUI (Mac's System Preferences)
- prompting for the version in the terminal window
Option one: Check Java Version on Mac Using the GUI
To check the Java version on Mac without using the final by searching for the Java Control Panel in the Organisation Preferences.
i. Click the Apple tree icon in the menu bar to open the drop-down carte du jour and navigate to Arrangement Preferences.
ii. A new window opens with diverse icons and settings. Notice and click the Java icon to open up the Java Command Panel.
iii. Once the Java Control Panel opens, click the Most push button. A new window with Java version data should appear.
Selection two: Check Java Version on Mac Using the Terminal
If you prefer using the terminal, checking the Java version is a unproblematic one-command process.
1. Beginning, open the terminal. To do so, click the Spotlight Search button in the top-right of the screen.
2. Type last in the search bar and open it by clicking on the icon in the search results.
three. In one case in the control line, run the command: java -version . The output should display the Coffee version installed on your MacOS.
To cheque the version of the primary Coffee compiler – javac (pronounced "java-see") use the command:
javac -version Check Java Version on Windows
To check the Java version on a Windows computer, you tin utilize:
- the GUI (Windows Control Panel)
- the command line
Option ane: Cheque Java Version on Windows Using GUI
To find the Java version on your Windows without opening a terminal window, use the Control Console.
1. Open the Windows card in the bottom-left corner and type control panel in the search bar.
2. Discover the Control Panel in the search results and click the icon to open it.
3. Move to the Programs directory.
four. Discover and click the Java icon to open up the Java Control Panel.
v. In one case the command panel opens, click the About button.
half-dozen. The About Java window should announced and brandish the Coffee version on your computer.
Option ii: Check Coffee Version on Windows Using Command Line
Another option to find the Java version on Windows is through the command line.
i. Open the Windows Showtime menu in the lesser-left corner and type cmd in the search bar.
2. Then, open up the Control Promptonce information technology appears in the search results.
three. A new window with the control prompt should announced. In it, type the command java -version and striking Enter. The output should display the Coffee version installed on your Windows system.
You can too check the version of the Java's chief compiler, javac, with the control:
javac -version Conclusion
This article showed you how to check the version of Java installed on a macOS or Windows system.
Was this article helpful?
Yes No
Source: https://phoenixnap.com/kb/check-java-version-on-mac-windows
Posted by: willheddleggliha.blogspot.com

0 Response to "How To Find What Version Of Java Is Installed"
Post a Comment