Skip navigation

To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?

22618 Views 42 Replies Latest reply: Apr 11, 2014 12:38 PM by JimJohnMarks RSS
  • Barney-15E Level 7 Level 7 (33,270 points)

    Just curious. I have no need for java since that class ended.

     

    I don't remember Apple suggesting anything. They did put outa press release or something similar saying they would no longer develop the Java implementation and was leaving that up to others. I'm not sure they even mentioned Oracle at all.

  • Barney-15E Level 7 Level 7 (33,270 points)

    Well, yes, it does suggest that, as the only recourse, after having stated it is abandoning Java.

    I would lump that into more of a, "if you really need to use this service, here's the only option," than a recommendation.

  • baltwo Level 9 Level 9 (59,145 points)
    27" i7 iMac SL, Lion, OS X Mountain Lion (10.8.2), G4 450 MP w/Leopard, 9.2.2
  • baltwo Level 9 Level 9 (59,145 points)

    Why do I need to install Apple's 1.6 when Oracle's Java 1.7 latest is already there?

    Then, ask the developer of Charles debugging proxy. That's what won't work w/1.7. I would have no issue running both as described in the Oracle FAQs.

    27" i7 iMac SL, Lion, OS X Mountain Lion (10.8.2), G4 450 MP w/Leopard, 9.2.2
  • MadMacs0 Level 4 Level 4 (3,320 points)

    Rey Bango wrote:

     

    If I have the latest Oracle Java version installed, why am I being prompted to install Apple's 1.6 version?

    It's obvious to me that the developer of "Charles" compiled it as a Java 6 app and limited it's use with future Java versions. I might be only because it hasn't been tested with java 7 yet, or it may have to be recompiled using the Java 7 JDK, but only the developer can tell you that.

     

    I appreciate that you might not like to have an older version of Java on your computer. Even Oracle recommends against it, but does not provide a means of removing it once it's there. But this is the same problem that users of older Mac apps (e.g. Eudora) have, in that it won't run on newer versions of OS X, so they either find a new app or don't upgrade the OS.

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

    Rey Bango wrote:

     

    When I first got my MBA, I hit terminal and typed in "java -version" to see which version was installed. I immediately received the same dialog I mentioned earlier to install Apple's version of Java. So I downloaded Oracle's JRE so I could use the latest Java version. Even after installing this, I still received the dialog asking to install Apple's version. Only after I installed Oracle's JDK did I stop receiving the dialog when typing in "java -version" into the terminal.

    I think there is a simple explanation for this. The Oracle JRE does not replace the command line executable /usr/bin/java/, so it's still the one that came with OS X. It only knows the location of the Apple installed Java, which in this case should be Java 6, but not finding anything there, it continues to prompt you to install it, as it knows nothing about the other location that Oracle uses.  By installing the JDK you replaced /usr/bin/java/ which only knows the location of the Oracle code and so reports it as being updated.

     

    I know other users who have reported being able to run a some desktop Java apps with only the Oracle JRE version installed.  There are many others who found themselves in the same position you were with an app that would not work with Java 7.

    Despite this, when launching the Java-based Charles app, I again received the dialog to install Apple's version.

    Which is understandable if it is not compatible with Java 7.

     

    I guess I'm still of the opinion that installing J2SE 1.6.0_37 would allow you to use Charles without causing any undo security issues, if that were possible.

  • King Richard III Calculating status...

    I had exactly the problem with jEdit, another Java desktop application. What a mess.

  • Pangyunqi Calculating status...

    I tried some and found only need to modiy JDK 1.7's Info.plist a little bit.

    It looks like Oracle did not add  engough JVMCapabilities for it.

    so you can try to change

    <key>JVMCapabilities</key>

                        <array>

                                  <string>CommandLine</string>

                        </array>

     

    to

     

    <key>JVMCapabilities</key>

                        <array>

                                  <string>JNI</string>

                                  <string>BundledApp</string>

                                  <string>WebStart</string>

                                  <string>Applets</string>

                                  <string>CommandLine</string>

                        </array>

  • YoCraig Level 1 Level 1 (5 points)

    I too keep getting this notification or whatever is called several times a day and would like it to stop.

     

    I installed Oracle's Java 7 a few days ago because of a system update (I think it was maybe it was a Safari update?!?) that reported Java had been disabled for security reasons. As far as I know, I dont use Java but I installed it anyway from Oracle's site. At that time I was still running Lion.

     

    Then I upgraded to Mavericks and ever since I've been getting this message. In an attempt to stop the message I uninstalled Java using Oracle's instructions (which were to delete a Java app from the applications folder).

     

    I'm still getting the message (it popped up just now).

     

    "To open "java", you need a Java SE 6 runtime. Would you like to install one now?"

     

    I don't want to open java but apparently my machine thinks I do.

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

    YoCraig wrote:

     

    "To open "java", you need a Java SE 6 runtime. Would you like to install one now?"

    Apparently you are trying to use an application which requires Java and perhaps even Java SE 6.  Your choices are to install it or get rid of the process that is requiring it.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (1)

Legend

  • 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.