banner



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.

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

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.

Finding system preferences on Mac

two. A new window opens with diverse icons and settings. Find and click the Coffee icon to open up the Java Command Panel.

Opening the Java control panel on Mac os

3. Once the Coffee Command Panel opens, click the Virtually button. A new window with Java version information should appear.

Finding the Java version on macOS from the system preferences

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.

Mac spotlight search button.

2. Type terminal in the search bar and open up information technology by clicking on the icon in the search results.

Open terminal on Mac.

3. 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 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.

Searching for the control panel in the Windows start menu.

2. Find the Command Panel in the search results and click the icon to open it.

Opening the control panel on Windows

3. Move to the Programs directory.

screenshot of the Open programs directory in Windows

4. Find and click the Coffee icon to open the Java Control Panel.

example of opening the Java Control Panel

5. In one case the control panel opens, click the Most button.

Viewing information about the Java control panel

6. The About Java window should appear and brandish the Java version on your computer.

example output of java version 8 update 261 installed on windows

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.

Search for command prompt on Windows

ii. Then, open the Control Promptonce it appears in the search results.

Open command prompt on Windows

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.

java version 1.8.0_261 installed on windows

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

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel