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

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

Compile & Run Java Program Using Command PromptA Beginner’s Guide to Compiling & Running Java Programs
Check Your Java Version in the Windows Command LineUse Easy Windows CMD Commands to Check Your Java Version
Do Division in Java Do Division in Java (Integer and Floating Point)
Compile and Run Java Program by Notepad Compile and Run Java Programs Using Notepad++
Set Java Home Set JAVA_HOME for JDK & JRE: A Step-by-Step Guide
Check Null in JavaCheck Null in Java
Create an Executable File from EclipseCreate an Executable File from Eclipse
Add JARs to Project Build Paths in Eclipse (Java)Add JARs to Project Build Paths in Eclipse (Java)
Update JavaUpdate Java
Program in JavaProgram in Java
Create JAR File Create a JAR File With Eclipse
Calculate Percentage in JavaCalculate Percentage in Java
Print Double Quotes in JavaSimple Steps to Type a Bunny with Your Keyboard
Call a Method in JavaCall a Method in Java
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 161,384 times.
How helpful is this?
Co-authors: 7
Updated: December 14, 2023
Views: 161,384
Categories: Java
Thanks to all authors for creating a page that has been read 161,384 times.

Is this article up to date?

Advertisement