In this tutorial you will learn how to install Java on the last version of Mac OS X. There are several methods:
Using the terminal
- Apple doesn't offer Java pre-installed on its devices. By launching this "false" executable, you will trigger the installation of Java.
- To check which version of Java is installed on your Mac, open a terminal and type the following command:
A similar message will be displayed:
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Java HotSpot(TM) Client VM (build 20.8-b03-424, mixed mode)
Installing a specific version of Java
If you want to install a different version of Java, you can just go get on official site.
For example, to install Java 7, go to the official download page: