How to install a specific JDK on Mac OS X?

后端 未结 16 886
南方客
南方客 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 15:55

    As the message says, you have to go to Apple, not Sun, for Java on the Mac. As far as I know, Apple JDK 6 is installed by default on Mac OS X 10.6 (Snow Leopard). Maybe you need to install the developer tools from your Mac OS X installation DVD (the dev tools are an optional install from the OS DVD).

    See: http://developer.apple.com/java/

    NOTE This answer from 16 Oct 2009 is now outdated; you can get the JDK for Mac OS X from the regular JDK download page on Oracle's website now.

提交回复
热议问题