banner



How To Find Java In Windows 10

Introduction

Coffee runs many of the applications that we 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 cheque the Java version on your Mac or Windows organization.

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

Prerequisites

  • A system running macOS or Windows
  • Access to the command-line/terminal window
  • A version of Coffee installed

Cheque Java Version on Mac

You tin can detect the version of Java on macOS by:

  • using the GUI (Mac's System Preferences)
  • prompting for the version in the terminal window

Option 1: Check Java Version on Mac Using the GUI

To check the Java version on Mac without using the terminal by searching for the Java Control Panel in the Arrangement Preferences.

1. Click the Apple tree icon in the menu bar to open the drop-downwards carte and navigate to System Preferences.

Finding system preferences on Mac

2. A new window opens with various icons and settings. Discover and click the Coffee icon to open up the Coffee Control Console.

Opening the Java control panel on Mac os

iii. One time the Java Control Panel opens, click the About button. A new window with Java version information should appear.

Finding the Java version on macOS from the system preferences

Option ii: Check Java Version on Mac Using the Terminal

If you prefer using the terminal, checking the Java version is a simple one-command process.

1. Offset, open up the terminal. To do and so, click the Spotlight Search button in the top-correct of the screen.

Mac spotlight search button.

2. Type terminal in the search bar and open it by clicking on the icon in the search results.

Open terminal on Mac.

3. In one case in the command line, run the command: java -version . The output should display the Java version installed on your MacOS.

java version 1.8.0_261 installed on macOS

To check the version of the primary Java compiler – javac (pronounced "java-see") utilize the control:

          javac -version        

Bank check Coffee Version on Windows

To cheque the Java version on a Windows calculator, you can use:

  • the GUI (Windows Control Console)
  • the command line

Option i: Check Java Version on Windows Using GUI

To find the Java version on your Windows without opening a terminal window, use the Command Panel.

1. Open the Windows menu in the bottom-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 it.

Opening the control panel on Windows

3. Motility to the Programs directory.

screenshot of the Open programs directory in Windows

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

example of opening the Java Control Panel

v. Once the control console opens, click the About button.

Viewing information about the Java control panel

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

example output of java version 8 update 261 installed on windows

Pick two: Check Coffee Version on Windows Using Command Line

Another option to find the Coffee version on Windows is through the command line.

1. Open the Windows Offset menu in the bottom-left corner and type cmd in the search bar.

Search for command prompt on Windows

2. 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 command java -version and striking Enter. The output should display the Coffee version installed on your Windows organization.

java version 1.8.0_261 installed on windows

You tin also check the version of the Java'due south chief compiler, javac, with the command:

          javac -version        

Conclusion

This commodity showed you how to check the version of Coffee 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: hendersonmanst1992.blogspot.com

0 Response to "How To Find Java In Windows 10"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel