Skip navigation

HT5717: About Java for OS X 2013-004

Learn about About Java for OS X 2013-004

HT5717 updating both Java 6 and 7

272 Views 1 Reply Latest reply: Jun 21, 2013 9:10 PM by Linc Davis RSS
chris4ucla2 Calculating status...
Currently Being Moderated
Jun 21, 2013 9:41 AM

I have Java 7 (from Oracle) installed and I just updated it. How do I know for sure IF I have Java 6 (from Apple) installed as well? And would this Java 6 update affect my Java 7 install in anyway? I'm running ML.

MacBook Pro, OS X Mountain Lion (10.8.4)
  • Linc Davis Level 10 Level 10 (107,500 points)
    Currently Being Moderated
    Jun 21, 2013 9:10 PM (in response to chris4ucla2)

    How do I know for sure IF I have Java 6 (from Apple) installed as well?

     

    Triple-click anywhere in the line below to select it:

    java -version | open -f -a TextEdit

     

    Copy the selected text to the Clipboard (command-C).

     

    Launch the Terminal application in any of the following ways:

     

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

     

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

     

    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.

     

    Paste into the Terminal window (command-V).

     

    A TextEdit window will open with the output of the command. If it contains this text:

    java version "1.6.0_51"
    Java(TM) SE Runtime Environment (build 1.6.0_51-b11-456-11M4508)
    Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-456, mixed mode)
    

    then the latest version of the Apple JRE is installed. Anything else, it's not the latest version, or not installed at all.

     

    And would this Java 6 update affect my Java 7 install in anyway?

     

    No. They're completely independent of each other.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

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.