How to set up applications requiring legacy java on El Capitan (OS X 10.11)?

flopperJ picture flopperJ · Jun 11, 2015 · Viewed 22.4k times · Source

I have a clean install of El Capitan. I have PHPStorm installed on my Macbook Air. When I try to run the application, I get an error that says PHP storm can't be opened because it requires legacy Java SE 6. I've attached an image of the error below.

enter image description here

I had the same problem when I installed Yosemite but I was able to install the legacy java fix (Java for OS X 2014-001) from Apple's website. When I try installing that same java fix I get the following Error: Java for OS X can't be installed on this disk. A newer version of this package is already installed

enter image description here

Any thoughts and help will be greatly appreciated! Thanks

Answer

jase picture jase · Jul 11, 2015

Download Java 6 for El Capitan:

Java for OS X 2015-001 Beta

https://support.apple.com/kb/DL1824