Skip navigation

HT5648: Java updates available for OS X on August 28, 2013

Learn about Java updates available for OS X on August 28, 2013

HT5648 This is not clean. I have 1.7 via Control Panel, but "java -version" command still returns 1.6.

986 Views 7 Replies Latest reply: Feb 8, 2013 9:31 PM by MadMacs0 RSS
CrazyAfrican Calculating status...
Currently Being Moderated
Feb 6, 2013 8:49 AM

Apple blocked anything lower than "JavaWebComponentVersionMinimum = "1.6.0_37-b06-435".


Installing Java 1.7 worked. Java Control panel says I have Java 7.


Still cannot run a app that uses Java, since it is still using Apple's java, which does not get uninstalled. Terminal command "java -version" still says Java 1.6:


XProtect versions:

$ sudo defaults read /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta


    JavaWebComponentVersionMinimum = "1.6.0_37-b06-435";

    LastModification = "Thu, 31 Jan 2013 04:41:14 GMT";

    PlugInBlacklist =     {

        10 =         {

            "com.macromedia.Flash Player.plugin" =             {

                MinimumPlugInBundleVersion = "11.3.300.271";


            "" =             {

                MinimumPlugInBundleVersion = "";




    Version = 1038;



Java command after 1.7 installed and verified:

$ java -version

java version "1.6.0_37"

Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)

Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)


Changing the "JavaWebComponentVersionMinimum" allows me to run the app. Changing it back prevents me from running the app. Why are Apple's java components not replaced? If the answer is "Apple provides those components" then why is Apple fixing 10.6, but not 10.7 or 10.8?


This is a serious problem.

  • MadMacs0 Level 4 Level 4 (3,320 points)

    CrazyAfrican wrote:


    why is Apple fixing 10.6, but not 10.7 or 10.8?

    Yes, that is exactly the question and I have no idea except to guess that they are doing everything they can to push everybody to Java 7. This allows them to apply their programming resources to things they consider to be more important and since Oracle will not support Java 6 after this month, they would have no source for future updates. It doesn't seem to me that it would not be that hard to post a Java for OS X 2012-007, but so far they have not seen fit to do so.


    I read rumors that they had an update to 1.6.0_38 in developer test, so perhaps that can be combined with patches for release 39 and once developers have given their OK, we'll see it in Software Update. Only time will tell.

  • MadMacs0 Level 4 Level 4 (3,320 points)

    CrazyAfrican wrote:


    They did patch Java on the 10.6 OS though.

    Yes, they did that over the weekend.

    Why not replace the Apple provided Java with the Oracle 1.7, or just remove the Apple provided Java.

    That's never been the way it was done. Over time, there have often been up to three versions of Java installed, which is how backward comparability was provide. It's just that it was always installed by Apple and there was a way to select which versions were enabled.


    What's different this time is that Oracle placed Java 7 in a different location and neither the old Java Preference app nor the Command-line "java" process knew of that location, so they offer no way to control Java 7. Similarly, the Java Control Panel does not know anything about Apple's Java 6. Thus there is no way to disable one or the other, especially since Apple has now removed the Java Preferences app.

    I'd be fine with the Oracle Java 1.7, but even after installing it, 1.6 is still there and some applets still go for the 1.6, which fails due to the XProtect blacklist.

    Hmm, I don't believe that has been reported before. I know that there are Applications that won't work with Java 7 (CrashPlan posted a workaround for here), but all web applets should be going to only the one selected using these procedures

  • GeekBoy.from.Illinois Level 4 Level 4 (2,730 points)

    One thing I have noticed is that if you ever installed the JDK, then the JRE is just re-directed to point to your JDK.  This means that if you installed the JDK v1.6, then later installed the JRE v1.7, your JRE is re-directed to your existing JDK, and remains at v1.6.  If you remove the JDK v1.6, then re-install the JRE v1.7, it will report v1.7 installed.  You could also just install the JDK v1.7 and it would report that version as well.

  • MadMacs0 Level 4 Level 4 (3,320 points)

    Thanks for confirming that. I was aware that the terminal command would be redirected to report Java 7 if the Oracle JDK was installed, but I hesitated to recommend doing that until the OP was certain of what version works best in his situation. Until all developers have converted to Java 7, I suspect situations like this will continue to exist.

  • MadMacs0 Level 4 Level 4 (3,320 points)

    CrazyAfrican wrote:


    Thanks for the comments. Web apps seem to be fine with 1.7. I have some applets that need Java and they look to Apple's java location, so they fail to load because it is blacklisted.

    Have you considered installing JDK SE 7 from here? If you are certain eveything you need works with Java 7, then that would seem to be the way to go next.


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.