12 Replies Latest reply: Feb 6, 2013 10:17 PM by BennettSmith
Radium777 Level 1 Level 1 (0 points)

HI,

 

I am running 10.8.2. I recently updated to Java jre-7u13-macosx-x64-1

 

I am getting a "blocked plug" on all my images on mac mail - what's the fix?

 

Java is enabled

 

thanks


screen, OS X Mountain Lion (10.8.1)
  • 1. Re: mac mail images not showing blocked plugin
    Linc Davis Level 10 Level 10 (117,700 points)

    Quit Mail.

     

    Triple-click the line below to select it:

     

    ~/Library/Preferences

     

    Right-click or control-click the highlighted line and select

      

    Services Open

      

    from the contextual menu. A folder window should open. Move any file in that folder with a name containing the word "java" to the Desktop, leaving the window open. There may be several such files. Relaunch the application and test. If there's no change, put the files you moved back where they were. Otherwise, delete them.

  • 2. Re: mac mail images not showing blocked plugin
    Radium777 Level 1 Level 1 (0 points)

    8 files in total. No change unfortunately

  • 3. Re: mac mail images not showing blocked plugin
    Linc Davis Level 10 Level 10 (117,700 points)

    Did you modify any system files in order to bypass the block on a previous version of Java?

  • 4. Re: mac mail images not showing blocked plugin
    Radium777 Level 1 Level 1 (0 points)

    I have run the following in terminal multiple times with multiple reloading of the latest Java

     

    Folowing these instructions to try getting a java based app to work:

     

    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

    Ultimately I ran this as well.

     

    sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

     


  • 5. Re: mac mail images not showing blocked plugin
    Linc Davis Level 10 Level 10 (117,700 points)

    Ultimately I ran this as well.

     

    Was that before or after you installed the Oracle JRE?

  • 6. Re: mac mail images not showing blocked plugin
    Radium777 Level 1 Level 1 (0 points)

    well i have since reinstalled the latest java - I have run multiple installs etc..Also have run mutliple terminal commands trying to get it figured. A bit fo a mess now

  • 7. Re: mac mail images not showing blocked plugin
    Linc Davis Level 10 Level 10 (117,700 points)

    Delete the folder

     

    /Library/Internet Plug-Ins/disabled

     

    Then relaunch Mail and test.

  • 8. Re: mac mail images not showing blocked plugin
    Radium777 Level 1 Level 1 (0 points)

    Deleted folder which contained JavaAppletPlugin - restarting mac mail no luck - restarted compuetr - no luck

  • 9. Re: mac mail images not showing blocked plugin
    Linc Davis Level 10 Level 10 (117,700 points)

    Back up all data.

     

    Boot into Recovery by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.

     

    Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with proxy servers, or with networks that require a certificate for authentication.

     

    When the OS X Utilities screen appears, follow the prompts to reinstall the OS. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.

  • 10. Re: mac mail images not showing blocked plugin
    BennettSmith Level 1 Level 1 (0 points)

    This ("Blocked Plug-in" in Mail.app viewing pane) occured to me after I had removed the XProtect.meta.plist, as part of restoring Java 6 functionality for a "mission critical" application-configuration requiring same.  Restoring (an edited version of) the plist restored Mail.app image viewing to normal.  "Your milage may vary" ... and clearly messing with XProtect is something to avoid if at all possible.

  • 11. Re: mac mail images not showing blocked plugin
    MonicaDSW Level 1 Level 1 (0 points)

    Hi Bennett - how do you restore this?  I think I did the same thing via instructions from a website that I use to upload and display client photography.  I'm thinking I need to restore XProtect.meta.plist - but have no clue where to begin.

  • 12. Re: mac mail images not showing blocked plugin
    BennettSmith Level 1 Level 1 (0 points)

    Monica:  (Start with making sure your all your data is fully backed up.)  The location of the plist as well as the optional editing are described in this discussion: 

     

    https://discussions.apple.com/message/21097499#21097499

    [.. a posting by alucasTHX

    Re: Has apple blocked Java 6? Jan 31, 2013 2:50 PM (in response to Larry Wigren) ]

     

    I had saved the plist - moving it to a temporary folder in my documents tree.  When you attempt to move it back, it will complain, but if you "authenticate" with an administrator password you can proceed.  If you didn't save the plist, you could restore/copy it from a Time Machine (or other) backup (and then optionally edit a copy as described in the linked post above.)  If you don't have a suitable backup, I would not be surprised (but haven't tried) if (temporarily) reenabling automatic updates of the safe downloads list might automatically restore the plist.

     

    P.S.: As the posting by alucasTHX suggests / aludes to, you shouldn't attempt the editing (or even be messing with any of the system folders), unless you are reasonably seasoned with same, have ready backups, are prepared to reinstall the OS, have access to another machine in case things go unexpectedly badly, etc.