How To Check Java Installed In Windows
Introduction
Coffee runs many of the applications that we utilize daily. Many applications cannot run on older versions of Java. Hence, information technology is essential to know which version is installed on your system.
In this tutorial, learn how to cheque the Java version on your Mac or Windows arrangement.
Prerequisites
- A organisation running macOS or Windows
- Access to the control-line/terminal window
- A version of Java installed
Check Java Version on Mac
You can discover the version of Coffee on macOS by:
- using the GUI (Mac's Arrangement Preferences)
- prompting for the version in the terminal window
Selection ane: Check Java Version on Mac Using the GUI
To bank check the Coffee version on Mac without using the concluding by searching for the Coffee Control Panel in the Organisation Preferences.
1. Click the Apple icon in the carte bar to open the drib-down menu and navigate to Arrangement Preferences.
two. A new window opens with diverse icons and settings. Find and click the Coffee icon to open up the Java Command Panel.
3. Once the Coffee Command Panel opens, click the Virtually button. A new window with Java version information should appear.
Selection ii: Check Coffee Version on Mac Using the Terminal
If you prefer using the terminal, checking the Java version is a unproblematic ane-command process.
ane. First, open the final. To practise so, click the Spotlight Search button in the top-right of the screen.
2. Type terminal in the search bar and open up information technology by clicking on the icon in the search results.
3. One time in the command line, run the command: java -version . The output should brandish the Java version installed on your MacOS.
To bank check the version of the primary Java compiler – javac (pronounced "coffee-see") apply the command:
javac -version Bank check Java Version on Windows
To check the Java version on a Windows calculator, you can apply:
- the GUI (Windows Control Panel)
- the command line
Pick 1: Check Coffee Version on Windows Using GUI
To find the Java version on your Windows without opening a terminal window, use the Control Panel.
i. Open up the Windows menu in the bottom-left corner and type control panel in the search bar.
2. Find the Command Panel in the search results and click the icon to open it.
3. Move to the Programs directory.
4. Find and click the Coffee icon to open the Java Control Panel.
5. In one case the control panel opens, click the Most button.
6. The About Java window should appear and brandish the Java version on your computer.
Pick 2: Check Coffee Version on Windows Using Command Line
Another pick to find the Java version on Windows is through the command line.
1. Open the Windows Start menu in the bottom-left corner and type cmd in the search bar.
ii. Then, open the Control Promptonce it appears in the search results.
3. A new window with the command prompt should appear. In it, type the control java -version and hitting Enter. The output should display the Java version installed on your Windows system.
Y'all tin also check the version of the Java'due south primary compiler, javac, with the command:
javac -version Decision
This article showed you how to check the version of Java installed on a macOS or Windows organisation.
Was this commodity helpful?
Yes No
Source: https://phoenixnap.com/kb/check-java-version-on-mac-windows
Posted by: jacksontopoicusin1947.blogspot.com

0 Response to "How To Check Java Installed In Windows"
Post a Comment