Get Java for your Mac. Download Java for OS X directly from Oracle. Get the latest version. If an app or webpage you want to use asks you to install Java software, you can download the current version of Java for OS X directly from Oracle's website. This article applies to: Platform(s): macOS. Mac System Requirements for Oracle Java 7 and later versions. Intel-based Mac running versions 10.7.3 and above.
![Mac os java installation Mac os java installation](https://introcs.cs.princeton.edu/java/mac/oracle-java8-osx.png)
Installation Java 6 isn’t installed by default. Java 6 is available as a simple Software Update, so if your system is up to date, Java 6 is installed, else upgrade your system. Note that Java SE 6 won’t appear for users on 32-bit Intel machines (Intel Core and Intel Core Duo) even if their systems are fully up to date. Activation Even though Java 6 is installed, Java 5 is still used by Mac OS X.
You have to activate Java 6 by yourself. To do this, you need to run: Applications - Utilities - Java - Java Preferences You will get the following window: You just need to change the order of Java versions to use (Java application versions). Once Java SE 6 is on the top of the list, it should be activated. Verification You can check that Java 6 is correctly activated. You need to run a terminal (Applications - Utilities - Terminal) and to type the command: java -version You should get this message.