Download Java for OS X 2017-001

Visit the Apple support page below:
https://support.apple.com/kb/DL1572?locale=en_US

Or download here.