How to install a specific JDK on Mac OS X?

后端 未结 16 914
南方客
南方客 2020-11-29 15:21

I want to install a specific JDK (the latest for example). For this, I went to the JDK download homepage: http://java.sun.com/javase/downloads/index.jsp. I looked for a Mac

16条回答
  •  醉酒成梦
    2020-11-29 16:17

    I bought a MacBook Pro yesterday (Mac OS X v10.8 (Mountain Lion)) and there is no JDK installed by default...

    As well as javac, I also found it didn't have packages such as SVN installed. It turns out you can get everything from the Apple developer page (you will need to register with your AppleID). SVN is part of the "Command Line Tools" package.

    Enter image description here

    This is what happens on a fresh MacBook:

    Enter image description here

    Enter image description here

    Hopefully this will help out other newbies like me ;)

提交回复
热议问题