Java 2012–006 KB

If, after installing Java for OS X 2012–006 and Java 7, you want to disable Java 7 and re-enable the Apple-provided Java SE 6 plug-in, follow these steps.

Note: You must be logged in as an adminstrator.

Note: If prompted for your administrator password after a command, enter it and then press the Return or Enter key.

  1. Open Terminal, located in the Utilities folder.
  2. Enter this command, then press the Return or Enter key:

    sudo mkdir -p /Library/Internet Plug-Ins/disabled
  3. Enter this command, then press the Return or Enter key:

    sudo mv /Library/Internet Plug-Ins/JavaAppletPlugin.plugin /Library/Internet Plug-Ins/disabled
  4. Enter this command, then press the Return or Enter key:
  5. sudo ln -sf /System/Library/Java/Support/Deploy. bundle/Contents/Resources/JavaPlugin2_NPAPI.plugin /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
  6. To re-enable Java SE 6 Web Start, enter this command, then press the Return or Enter key:

    sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Commands/javaws /usr/bin/javaws