JDK on OSX 10.7 Lion

后端 未结 5 872
醉话见心
醉话见心 2020-12-02 05:17

I\'ve instaled the Java for Developer package provided from Apple for 10.7 and java apps are running fine

but eclipse cannot find the JDK root path and I cant either

5条回答
  •  孤街浪徒
    2020-12-02 05:40

    For Mountain Lion, Apple's java is up to 1.6.0_35-b10-428.jdk as of today.
    It is indeed located under /Library/Java/JavaVirtualMachines .

    You just download
    "Java for OS X 2012-005 Developer Package" (Sept 6, 2012)
    from
    http://connect.apple.com/

    In my view, Apple's naming is at least a bit confusing; why "-005" - is this the fifth version, or the fifth of five installers one needs?

    And then run the installer; then follow the above steps inside Eclipse.

提交回复
热议问题