1. Open Oracle develop page http://www.java.com/en/download/faq/develop.xml

2.Click "JDK download" link on "Where can I get JDK download" section (Figure 1). 

 Figure 1 

3. Click "JDK Download" button to enter JDK download page (Figure 2). 

 Figure 2 

4. Select option "Accept License Agreement" (Figure 3). 

 Figure 3 

5. Download JDK package for Mac OS X, such as "jdk-8u71-macosx-x64.dmg" (Figure 4). After you down the DMG file, click to open it and follow the instruction to install it.

 Figure 4