How To Find Java On Your Computer
Introduction
Java 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 organization.
In this tutorial, larn how to check the Coffee version on your Mac or Windows system.
Prerequisites
- A system running macOS or Windows
- Admission to the command-line/final window
- A version of Java installed
Bank check Java Version on Mac
You can find the version of Java on macOS past:
- using the GUI (Mac's Organisation Preferences)
- prompting for the version in the terminal window
Option 1: Check Coffee Version on Mac Using the GUI
To check the Java version on Mac without using the terminal past searching for the Coffee Command Console in the Organization Preferences.
1. Click the Apple tree icon in the menu bar to open the drib-down carte and navigate to Organisation Preferences.
2. A new window opens with various icons and settings. Find and click the Java icon to open the Java Command Console.
3. One time the Java Command Panel opens, click the About push button. A new window with Coffee version information should announced.
Option 2: Bank check Java Version on Mac Using the Concluding
If y'all prefer using the terminal, checking the Java version is a elementary one-control process.
ane. First, open the terminal. To exercise so, click the Spotlight Search push in the top-right of the screen.
2. Blazon terminal in the search bar and open up it past clicking on the icon in the search results.
iii. One time in the command line, run the command: java -version
. The output should brandish the Java version installed on your MacOS.
To check the version of the principal Java compiler – javac (pronounced "java-encounter") use the command:
javac -version
Check Java Version on Windows
To cheque the Java version on a Windows computer, y'all can use:
- the GUI (Windows Control Console)
- the command line
Option one: Check Java Version on Windows Using GUI
To find the Java version on your Windows without opening a terminal window, apply the Control Console.
1. Open the Windows menu in the lesser-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 information technology.
iii. Movement to the Programs directory.
4. Discover and click the Java icon to open the Java Control Panel.
5. Once the control console opens, click the Most button.
half-dozen. The About Coffee window should appear and display the Java version on your computer.
Choice 2: Bank check Java Version on Windows Using Command Line
Another selection to find the Coffee version on Windows is through the command line.
1. Open the Windows Offset menu in the lesser-left corner and type cmd in the search bar.
2. So, open the Command Promptonce information technology appears in the search results.
3. A new window with the command prompt should appear. In it, type the command coffee -version
and striking Enter. The output should display the Coffee version installed on your Windows system.
You can also check the version of the Java'south primary compiler, javac, with the command:
javac -version
Determination
This article showed you how to check the version of Coffee installed on a macOS or Windows system.
Was this article helpful?
Yes No
How To Find Java On Your Computer,
Source: https://phoenixnap.com/kb/check-java-version-on-mac-windows
Posted by: joinernessiogs.blogspot.com
0 Response to "How To Find Java On Your Computer"
Post a Comment