Why Java is removed after upgrading to OS X Mountain Lion and how to reinstall it.
If you just upgraded your Mac to OS X Mountain Lion you probably noticed that Java Runtime Environment (JRE) is removed from your system. Apple has decided that Java is unnecessary for OS X and Mountain Lion upgrade process uninstalls Java but you can install it afterwards. Apple theoretically tries to reduce the risk of security problems with Java just like we saw few months back with Flashback Trojan which infected over 700,000 Mac computers.
If you still want to install Java on your OS X Mountain Lion powered Mac here is simple tutorial you can follow:
There are two different methods on how you can install Java in OS X Mountain Lion, first is simpler than the second one so if you just switched to mac I strongly recommend using the first method.
- When browsing the web which requires Java app you will be prompted to install Java for OS X (2012-004 current version) directly from Apple website.
- Hit “Install” and wait till the process is completed
Like I said, the second method is better for many advanced users since it requires using terminal but it will work any time even if you haven’t tried to open content that requires Java.
- Launch “Terminal” from /Applications/Utilities/ and write the following command in order to install Java:
- Now hit return and you will notice message saying, “No Java runtime present, requesting install” and you will be prompted to install Java SE in order to open “Java” content. Hit “Install” to get the latest version of Java.
Java is installed from Apple website instead of Java.com because Apple checks each and every app which is installed on your Mac to avoid security breaches.
It is recommended to avoid using Java on your Mac because most vulnerabilities found in Mac are related to Java Runtime Environment. Not many websites and apps require using Java on OS X Mountain Lion so if you decide to install Java I recommend keeping it disabled for the most of the time to avoid viruses and malware. More about OS X security I will talk some other time but Mac doesn’t require antivirus software if a user knows what he’s doing