banner



How To Find What Version Of Java Is Installed

Introduction

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

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

Prerequisites

  • A organisation running macOS or Windows
  • Access to the command-line/last window
  • A version of Java installed

Check Java Version on Mac

You lot can find the version of Coffee on macOS by:

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

Option one: Check Java Version on Mac Using the GUI

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

i. Click the Apple tree icon in the menu bar to open the drop-down carte du jour and navigate to Arrangement Preferences.

Finding system preferences on Mac

ii. A new window opens with diverse icons and settings. Notice and click the Java icon to open up the Java Command Panel.

Opening the Java control panel on Mac os

iii. Once the Java Control Panel opens, click the Most push button. A new window with Java version data should appear.

Finding the Java version on macOS from the system preferences

Selection two: Check Java Version on Mac Using the Terminal

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

1. Beginning, open the terminal. To do so, click the Spotlight Search button in the top-right of the screen.

Mac spotlight search button.

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

Open terminal on Mac.

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

java version 1.8.0_261 installed on macOS

To cheque the version of the primary Coffee compiler – javac (pronounced "java-see") use the command:

          javac -version        

Check Java Version on Windows

To check the Java version on a Windows computer, you tin utilize:

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

Option ane: Cheque Java Version on Windows Using GUI

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

1. Open the Windows card in the bottom-left corner and type control panel in the search bar.

Searching for the control panel in the Windows start menu.

2. Discover the Control 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

four. Discover and click the Java icon to open up the Java Control Panel.

example of opening the Java Control Panel

v. In one case the command panel opens, click the About button.

Viewing information about the Java control panel

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

example output of java version 8 update 261 installed on windows

Option ii: Check Coffee Version on Windows Using Command Line

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

i. Open the Windows Showtime menu in the lesser-left corner and type cmd in the search bar.

Search for command prompt on Windows

2. Then, open up the Control Promptonce information technology appears in the search results.

Open command prompt on Windows

three. A new window with the control prompt should announced. In it, type the command java -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 too check the version of the Java's chief compiler, javac, with the control:

          javac -version        

Conclusion

This article showed you how to check the version of Java installed on a macOS or Windows system.

Was this article helpful?

Yes No

Source: https://phoenixnap.com/kb/check-java-version-on-mac-windows

Posted by: willheddleggliha.blogspot.com

0 Response to "How To Find What Version Of Java Is Installed"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel