How to install Java runtime on OS X Lion (10.7) and Mountain Lion (10.8)

How to install Java runtime on OS X Lion (10.7) and Mountain Lion (10.8) (Go back)

Last Updated: October 11, 2012 at 1:13pm EDT

Platform: Mac OS X
OS Version: 10.7.x (Lion), Mountain Lion (10.8)

Overview

By default, OS X Lion and Mountain no longer includes a Java runtime environment. Java is required by some applications such as SSL VPN. In most cases, you will be automatically prompted to download and install it your Mac does not detect the presence of Java. Below, you will find instructions for manually installing Java on your Mac.

In addition to installing Java on your Mac, you must also manually enable the Java Web browser plug in so that applications such as VPN function properly. If you already have the Java plug in installed, you can skip down to the instructions to enable it.

Automatic Installation of Java for OS X Lion and Mountain

If your Mac needs to access a Java Runtime and can not find one, OS X Lion will attempt to automatically locate and install one. Once you install Java, you need to also enable it by following these instructions.
  1. If you need add a Java runtime, you may see this screenshot. Click on Install to begin the installation process.



  2. Your Mac will attempt to Locate and Install the software from Apple's servers



  3. If successful, click on OK


  4. Enable the Java applet plugin

Manual Installation of Java for OS X Lion

Once you install Java, you need to also enable it by following these instructions
Apple web site: http://support.apple.com/kb/DL1421
  1. Download Java for OS X Lion from Apple
  2. Quit any web browsers that are running
  3. Double click on the "JavaForMacOSX10.7.dmg" image file and launch the installer contained within
  4. Click on Continue



  5. Click on Continue again



  6. Click on Continue and then again on Agree





  7. Click on Install

  8. Type your computer password and then click Install Software



  9. Enable the Java applet plugin

Enabling the Java Plugin and Web Start applications

To enable the ability for the Cisco VPN or other Java Web Apps to open up within Safari and FireFox, you must perform the following steps. These steps only have to be done once.
  1. Quit all open browsers running on your Mac
  2. Click on the desktop so that you see the word "Finder" on the top left.
  3. Click on the Go Menu and select Utilities
  4. Double click on the Java Preferences icon


  5. In the General tab, check Enable applet plug-in and Web Start applications


  6. Quit the Java Preferences app and restart your browsers