# Install JDK on OSX Yosemite

DevFeed: [Install JDK on OSX Yosemite](<https://devfeed.tech/articles/install-jdk-on-osx-yosemite-37787.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/jdk-yosemite/>)

Author: Carlos Alexandro Becker

Published: 2014-08-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [osx](<https://devfeed.tech/topics/osx.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [command-line](<https://devfeed.tech/tags/command-line.md>), [download](<https://devfeed.tech/tags/download.md>), [error](<https://devfeed.tech/tags/error.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [install](<https://devfeed.tech/tags/install.md>), [jdk](<https://devfeed.tech/tags/jdk.md>), [oracle](<https://devfeed.tech/tags/oracle.md>), [vim](<https://devfeed.tech/tags/vim.md>)

## AI overview

A tutorial explains how to modify an Oracle JDK installer so it can run on OS X Yosemite, whose version is excluded by the installer's fixed OS X version range. It describes downloading and unpacking the JDK, editing the installer function to remove the version check, repackaging it, and running the installer; the tip also applies to JDK 8.

## Source excerpt

For some reason, Oracle blocked the installers to run only on a fixed OSX version range with a nice and explanatory error message. This range doesn't include Yosemite, which makes sense, since nobody running Yosemite will ever want to write some Java. Anyway, here is how to fix it.