How To Locate Java On Windows
Introduction
Java runs many of the applications that nosotros use 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 check the Java version on your Mac or Windows system.
Prerequisites
- A system running macOS or Windows
- Access to the command-line/concluding window
- A version of Java installed
Check Java Version on Mac
You can find the version of Java on macOS by:
- using the GUI (Mac's System Preferences)
- prompting for the version in the terminal window
Choice one: Cheque Java Version on Mac Using the GUI
To check the Java version on Mac without using the terminal by searching for the Java Command Console in the System Preferences.
ane. Click the Apple icon in the menu bar to open up the drop-down menu and navigate to System Preferences.
ii. A new window opens with diverse icons and settings. Find and click the Java icon to open up the Coffee Control Panel.
3. Once the Java Control Panel opens, click the About push. A new window with Java version information should appear.
Choice 2: Cheque Java Version on Mac Using the Terminal
If you prefer using the final, checking the Coffee version is a simple ane-command procedure.
i. Outset, open the terminal. To do so, click the Spotlight Search push in the meridian-right of the screen.
2. Type terminal in the search bar and open it by clicking on the icon in the search results.
3. Once in the command line, run the command: java -version . The output should display the Coffee version installed on your MacOS.
To bank check the version of the primary Java compiler – javac (pronounced "java-see") utilize the command:
javac -version Bank check Java Version on Windows
To check the Java version on a Windows estimator, y'all tin utilise:
- the GUI (Windows Command Console)
- the control line
Option i: Check Java Version on Windows Using GUI
To observe the Java version on your Windows without opening a terminal window, use the Control Panel.
1. Open up the Windows menu in the bottom-left corner and blazon control panel in the search bar.
2. Find the Control Panel in the search results and click the icon to open it.
3. Move to the Programs directory.
4. Find and click the Java icon to open the Java Control Panel.
5. Once the control console opens, click the About push.
vi. The Most Coffee window should announced and display the Java version on your calculator.
Choice 2: Cheque Coffee Version on Windows Using Control Line
Another option to find the Java version on Windows is through the control line.
one. Open up the Windows Start bill of fare in the bottom-left corner and type cmd in the search bar.
2. Then, open the Command Promptonce it appears in the search results.
3. A new window with the command prompt should appear. In information technology, type the command java -version and hit Enter. The output should brandish the Java version installed on your Windows system.
Y'all tin too check the version of the Coffee'south primary compiler, javac, with the command:
javac -version Decision
This article showed you how to cheque the version of Java installed on a macOS or Windows system.
Was this article helpful?
Aye No
Source: https://phoenixnap.com/kb/check-java-version-on-mac-windows
Posted by: gardnercrishere70.blogspot.com

0 Response to "How To Locate Java On Windows"
Post a Comment