1 2 3 4 Previous Next 57 Replies Latest reply: Jun 3, 2014 1:24 PM by MadMacs0 Go to original post
  • 15. Re: To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?
    Rey Bango Level 1 Level 1 (0 points)

    @lkrupp,

     

    I looked at those settings you mentioned and only Oracle's 1.7 is listed and enabled.

     

    Rey

  • 16. Re: To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?
    Barney-15E Level 8 Level 8 (35,295 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.

  • 17. Re: To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?
    Rey Bango Level 1 Level 1 (0 points)

    Hi Barney,

     

    From this Apple KB: http://support.apple.com/kb/HT5493

     

    "This update uninstalls the Apple-provided Java applet plug-in from all web browsers. To use applets on a web page, click on the region labeled "Missing plug-in" to go download the latest version of the Java applet plug-in from Oracle."

     

    I interpret that as directing users to install Oracle's Java JRE. And even if I'm misinterpreting it, the fact remains that the only JRE/JDK I have installed is Oracle's and I'm still being prompted by OSX to install the Apple version.

     

    I just don't want this discussion to go off-topic as to whether Apple recommends it or not because that's not the issue at hand.

     

    Rey...

  • 18. Re: To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?
    Barney-15E Level 8 Level 8 (35,295 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.

  • 19. Re: To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?
    Rey Bango Level 1 Level 1 (0 points)

    Barney,

     

    Thanks again for the message but that's not helping. Debating semantics isn't resolving the ultimate problem I'm having.

     

    Rey...

  • 21. Re: To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?
    Rey Bango Level 1 Level 1 (0 points)

    Thank you baltwo. I had read those two docs already and tehy unfortunately didn't provide a solution.

  • 22. Re: To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?
    baltwo Level 9 Level 9 (60,115 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.

  • 23. Re: To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?
    MadMacs0 Level 4 Level 4 (3,735 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.

  • 24. Re: To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?
    Rey Bango Level 1 Level 1 (0 points)

    Thank you MadMacs0. I appreciate the thoughtful reply.

     

    One thing to note is that I don't believe this issue is isolated to Charles (or a specific app). Let me explain.

     

    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.

     

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

     

    I don't think it's an issue with running in a specific version of Java as much as I feel there's a system linking issue somewhere. Like if a symlink is missing that would tell the Java apps where to find the JRE. I'm not versed enough in OSX or *nix to find that.

     

    Either way, I'm already having conversations with the developer of Charles and we're testing a version that seems to resolve this by packaging the JRE within the app directly. Obviously, this would solve my specific issue and I've already removed all versions of Java from my system. But for the benefit of the community, I'd like to pin this down so that others don't need to go through the same headaches I've had.

  • 25. Re: To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?
    MadMacs0 Level 4 Level 4 (3,735 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.

  • 26. Re: To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?
    King Richard III Level 1 Level 1 (0 points)

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

  • 27. Re: To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?
    Pangyunqi Level 1 Level 1 (0 points)

    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>

  • 28. Re: To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?
    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.

  • 29. Re: To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?
    MadMacs0 Level 4 Level 4 (3,735 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.