This wikiHow will teach you how to check what version of Java you have installed on your Mac by checking the System Preferences, using the Java website, or by using your Mac's Terminal. It's the Apple icon in the upper-left of the. If your Java is not working properly, the Test Java page displays additional configuration options that you may need to check, as well as download and installation instructions if needed. Thank you for visiting Tech Help Knowledgebase to learn how to find Java version on Mac. It also provides a step-by-step guide for creating, compiling, and executing a Java program using either DrJava or the Terminal. All of the software used is freely available. You will need an Intel-based Mac running Mac OS X 10.8 (Mountain Lion) to Mac OS X 10.13 (High Sierra). You can defer steps 4–6 until Section 1.5 of the textbook. Java package structure of Mac OS is a bit different from Windows. Don't be upset for this as a developer just needs to set PATH and JAVAHOME. So in.bashprofile set JAVAHOME and PATH as below.
After upgrading to a newer version of Mac OS X (Yosemite 10.10 and El Capitan 10.11) or macOS (Sierra 10.12 and High Sierra 10.13), you may end up getting an annoying new pop-up message whenever you start your computer. It says, “To use the java command-line tool, you need to install a JDK.” It asks you to click “More Info” and visit the JDK (Java Developer Kit) download website.
The reason you’re receiving this message is due to the removal of Java support in newer versions of OS X for security reasons. Older software such as Adobe Photoshop and Illustrator requires legacy Java support. Without a compatible Java command-line tool for these software, you’ll get this pop-up every time you turn on your Mac computer.
When you visit the download website to update Java, you find that the issue isn’t resolved! You’re still getting the same pop-up. This isn’t a complicated issue to fix, but it is an indirect one. The problem is that you’re not being routed to the correct download website when you click “More Info.”
Apple could have remedied this issue by programming the “More Info” button to direct you to the right fix. Here are the steps you can take to finally rid yourself of this pop-up:
Fix Java Command-Line Tool Pop-Up on Mac OS X
- Download Java for OS X 2017-001 aka Apple’s version of Legacy Java Command-line tool.
- Mount the .dmg disk image file and install Java 6 runtime for OS X.
- Restart your Mac and enjoy the absence of this Java command-line tool error pop-up!
Java Runtime Environment Mac
Last updated: October 10, 2018
You can find Java version on Mac without running a Java applet in your web browser. Fortunately, there are a variety of methods to find the Java version on Mac. Below is a description of some of those methods. Also see Java Support in Safari 12.
Using Command Line in Terminal
Terminal is a program included with macOS that provides command line access to the operating system. Terminal is located under Applications folder -> Utilities folder. To find the Java version using command line, launch the Terminal application. Type or copy/paste the following line into the Terminal window:
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
The Java version will display as output in the Terminal window, and will look similar to the output below:
java version '1.8.0_40'
Java(TM) SE Runtime Environment (build 1.8.0_40-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
In this case, Java 8 Update 40 is the Java version installed on this Mac.
Using the Java Control Panel
You may find Java version on Mac using the Java Control Panel instead. For information about locating the Java Control Panel, please see the Where is the Mac Java Control Panel located article. Once you have launched the Java Control Panel, click the General tab.
In the section entitled About, click the About… button. A new About Java window will launch. Java version information will display within the window.
Java Jdk Mac
![Download Download](/uploads/1/1/9/4/119493714/564345608.png)
In this case, Java 8 Update 40 is the Java version installed on this Mac.
Using the Online Test Java Page
You may also test your Java online to determine which version of Java is installed on your Mac. To test Java on your Mac, visit the Test Java page provided by Oracle on its Java.comweb site. This utility will not only check your current Java installation, but will also remove old Java versions from your computer that may pose a security threat to your system. If your Java is working correctly, and no out-of-date Java versions are found, you will see the following notification accompanied by information about your Java installation and your computer:
As it states in the Verified Java Version web page, Java 8 Update 40 is installed on this Mac. If your Java is not working properly, the Test Java page displays additional configuration options that you may need to check, as well as download and installation instructions if needed.
Thank you for visiting Tech Help Knowledgebase to learn how to find Java version on Mac.
Tech Help Knowledgebase creates how-to articles and video tutorials for common issues, and provides technical support for the categories covered by our site.
Get Support.
Get Support.