0
Thanks

A few words of thanks would be greatly appreciated.

Mac OS X - How to install Java



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

  • Open a Terminal.
  • Type "java".
  • The following message will be displayed.
  • No Java runtime present, Requesting install
    .
  • The installation starts normally.


Explanations:
  • Apple doesn't offer Java pre-installed on its devices. By launching this "false" executable, you will trigger the installation of Java.


Note that:
  • To check which version of Java is installed on your Mac, open a terminal and type the following command:
  • java-version

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:
0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team

Original article published by . Translated by deri58. Latest update on by Jean-François Pillou.

This document, titled "Mac OS X - How to install Java," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).

0 Comments