Need to get JDK 1.6 on ML

Discussion in 'All Things Apple' started by xanis, Dec 3, 2012.

  1. xanis

    xanis Lifer

    Joined:
    Sep 11, 2005
    Messages:
    17,576
    Likes Received:
    1
    I'm starting to do some Android development at work and I'd like to be able to work from my laptop, but I have a bit of a problem. I'm currently running Java SE 1.7 under Mountain Lion, but I need to have 1.6 for everything to compile and build correctly in Eclipse/Aptana. I've searched high and low and I haven't been able to find a single good solution on how to do this; the general consensus seems to be, "You have to use what Apple gives you."

    Does anyone know of a way to get 1.6 on ML? Any help would be awesome.
     
  2. Kaido

    Kaido Lifer

    Joined:
    Feb 14, 2004
    Messages:
    36,544
    Likes Received:
    19
  3. xanis

    xanis Lifer

    Joined:
    Sep 11, 2005
    Messages:
    17,576
    Likes Received:
    1
    That did the trick, thanks! You rock.

    EDIT: Wound up creating a little article on the company Wiki so we don't wind up spending hours getting this set up again. :p
     
    #3 xanis, Dec 3, 2012
    Last edited: Dec 3, 2012
  4. Kaido

    Kaido Lifer

    Joined:
    Feb 14, 2004
    Messages:
    36,544
    Likes Received:
    19
    Did it auto-uninstall the newer version properly then? If so, props to Java...most apps freak out if you downgrade via installer!
     
  5. xanis

    xanis Lifer

    Joined:
    Sep 11, 2005
    Messages:
    17,576
    Likes Received:
    1
    Not sure. I actually removed Java manually via the terminal before I installed 1.6.