12
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Mac OS X にJDK 1.8をインストール

Posted at

インストール対象マシン

Mac mini (Late2012)
OS X El Captitan バージョン 10.11.3

現状確認

~ $ date
2016年 3月16日 水曜日 11時04分10秒 JST
~ $ /usr/libexec/java_home -V
Unable to find any JVMs matching version "(null)".
Matching Java Virtual Machines (0):

Default Java Virtual Machines (0):

No Java runtime present, try --request to install.

インストール

から、JDKの[DOWNLOAD]ボタンをクリック

Java SE Development Kit 8u74 の
Accept License Agreement
にチェック後、リスト中にある、
Mac OS X x64 用の
jdk-8u74-macosx-x64.dmg
をダウンロードし、インストール

確認

~ $ javac -version
javac 1.8.0_74
~ $ which javac
/usr/bin/javac
~ $ java -version
java version "1.8.0_74"
Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)
~ $ which java
/usr/bin/java

12
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?