Knowledge base

Java for OS X 2013-005: How to re-enable the Apple-provided Java SE 6 web plug-in and Web Start functionality.

Posted in Apple Mac OS

Learn how to re-enable the Apple-provided Java SE 6 Java SE 6 web plug-in and Web Start functionality.

If, after installing Java for OS X 2013-005 and the latest version of Java 7 from Oracle, you want to disable Java 7 and re-enable the Apple-provided Java SE 6 web plug-in and Web Start functionality, follow these steps.

Note: You must be logged in as an administrator. 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:
    sudo ln -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI.plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin 
  5. 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

Additional Information

The following steps will undo the above commands and restore Java 7.

  1. Disable Java SE 6 Web Start opening:
    • Enter this command, then press the Return or Enter key:
    sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javaws /usr/bin/javaws
    
  2. When prompted, enter your administrator password, then press the Return or Enter key.
  3. Re-enable the Java 7 applet plug-in by downloading and reinstalling the latest version of Oracle Java 7 JRE.
Important: Mention of third-party websites and products is for informational purposes only and constitutes neither an endorsement nor a recommendation. Apple assumes no responsibility with regard to the selection, performance or use of information or products found at third-party websites. Apple provides this only as a convenience to our users. Apple has not tested the information found on these sites and makes no representations regarding its accuracy or reliability. There are risks inherent in the use of any information or products found on the Internet, and Apple assumes no responsibility in this regard. Please understand that a third-party site is independent from Apple and that Apple has no control over the content on that website. Please contact the vendor for additional information.
Last Modified: Oct 15, 2013
Helpful?
Yes
No
One Moment Please
Thanks for your feedback.
66% of people found this helpful.
Email this article
Print this page
  • Last Modified: Oct 15, 2013
  • Article: HT5559
  • Views:

    2261781
  • Rating:
    • 66.0

    (6678 Responses)

Additional Product Support Information