Updating java for mac
For instance, you can’t install Illustrator without first installing Java, but you can install Photoshop.
Download and install the ‘JRE’ - this is the Java Runtime Environment.
If you want to compile Java code you can install the JDK (Java Development Kit) instead.
Choose which browser you want to use Java with and only enable Java in that browser’s preferences.
For the most part, the majority of users can get by without ever installing Java on their Macs and never know what they were missing.
For this reason, Apple has chosen to stop including Java with OS X for security reasons and because most people don’t need it.