PDF download Download Article
Learn how to check what version of Java your Mac is running
PDF download Download Article

This wikiHow will teach you how to check what version of Java you have installed on your Mac by checking the System Settings or by using your Mac's Terminal. These methods will only work if you’ve already installed Java on your Mac.

Things You Should Know

  • To check the Java version on your Mac, open System Settings and select the "Java" menu item.
  • You can open a terminal and type the command java -version to see your Java version.
  • If you don't have Java installed, you won't see a Java setting on your computer, but you can download and install it from Java's website.
Method 1
Method 1 of 2:

Checking Your System Settings

PDF download Download Article
  1. It's the second option from the top of the drop-down menu.
    • If you’re using a pre-Ventura version of macOS, you’ll see System Preferences instead.
    Advertisement
  2. It's the icon with the blue coffee cup and orange steam. Clicking it opens the Java Control Panel in a new window. You’ll find it in the menu on the left side of the System Settings window. You might have to scroll down to see it.
    • In pre-Ventura versions of macOS, you’ll see this icon in the main System Settings window instead of the left sidebar.
    • If you don't see the Java icon, you do not have Java installed.
  3. This screen will tell you what version of Java you have, and if you need to update Java.
    • You can also click About in the General tab to see your Java version.
    • If an update is available, follow the instructions to update to the latest recommended version of Java. You can also check the box for "Check for Automatic Updates" so your version will always be updated to the latest versions when they are available.
  4. Advertisement
Method 2
Method 2 of 2:

Getting Information from Your Terminal

PDF download Download Article
  1. As you type, search results will filter below the search bar.
  2. This command will tell you what version of Java your Mac is currently running.[1]
    • If you don’t get a result, you probably don’t have Java installed.
  3. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

  • If your Mac doesn't have a Java option in your System Settings or you don't get a Java version when using the Terminal, you likely don't have Java installed. Visit Java's website to install Java for your Mac operating system.
  • If you have a newer Mac with an Apple silicon chip instead of an Intel processor, you’ll need to install the ARM 64 version of Java (click the link under the green Download Java for macOS Intel button on the download page to do so).
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement

You Might Also Like

Check Your Java Version in the Windows Command Line Check Your Java Version in the Windows Command Line
Java Macos Uninstall Uninstall Java & JDK on Mac: Step-by-Step Tutorial
Update Java Update or Download Java on PC, Mac, or Linux
Set Java Home Set JAVA_HOME for JDK & JRE: A Step-by-Step Guide
Install Java in Ubuntu Using TerminalInstall Java in Ubuntu Using Terminal
Install JavaInstall Java
Compile & Run Java Program Using Command PromptA Beginner’s Guide to Compiling & Running Java Programs
Run a .Jar Java FileRun a .Jar Java File
Install the Java Software Development KitInstall the Java Software Development Kit
Install Oracle Java JRE on Ubuntu LinuxInstall Oracle Java JRE on Ubuntu Linux
Install Java on LinuxInstall Java on Linux
Check Python Version on PC or Mac See the Python Version on Mac, Windows, and Linux
Extract a JAR FileExtract a JAR File
Install Oracle Java on Ubuntu LinuxInstall Oracle Java on Ubuntu Linux
Advertisement

About This Article

Megaera Lorenz, PhD
Written by:
wikiHow Staff Writer
This article was co-authored by wikiHow staff writer, Megaera Lorenz, PhD. Megaera Lorenz is an Egyptologist and Writer with over 20 years of experience in public education. In 2017, she graduated with her PhD in Egyptology from The University of Chicago, where she served for several years as a content advisor and program facilitator for the Oriental Institute Museum’s Public Education office. She has also developed and taught Egyptology courses at The University of Chicago and Loyola University Chicago. This article has been viewed 164,657 times.
How helpful is this?
Co-authors: 8
Updated: September 28, 2025
Views: 164,657
Categories: Java
Thanks to all authors for creating a page that has been read 164,657 times.

Is this article up to date?

Advertisement