banner



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.

How to Check if Java is Installed and version on mac or windows

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.

Finding system preferences on Mac

2. A new window opens with various icons and settings. Find and click the Java icon to open the Java Command Console.

Opening the Java control panel on Mac os

3. One time the Java Command Panel opens, click the About push button. A new window with Coffee version information should announced.

Finding the Java version on macOS from the system preferences

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.

Mac spotlight search button.

2. Blazon terminal in the search bar and open up it past clicking on the icon in the search results.

Open terminal on Mac.

iii. One time in the command line, run the command: java -version . The output should brandish the Java version installed on your MacOS.

java version 1.8.0_261 installed on 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.

Searching for the control panel in the Windows start menu.

2. Find the Control Panel in the search results and click the icon to open information technology.

Opening the control panel on Windows

iii. Movement to the Programs directory.

screenshot of the Open programs directory in Windows

4. Discover and click the Java icon to open the Java Control Panel.

example of opening the Java Control Panel

5. Once the control console opens, click the Most button.

Viewing information about the Java control panel

half-dozen. The About Coffee window should appear and display the Java version on your computer.

example output of java version 8 update 261 installed on windows

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.

Search for command prompt on Windows

2. So, open the Command Promptonce information technology appears in the search results.

Open command prompt on Windows

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.

java version 1.8.0_261 installed on windows

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

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel