How to install java jdk 7 on Snow Leopard

后端 未结 9 2172
忘掉有多难
忘掉有多难 2020-11-30 22:22

My Mac currently is running Snow Leopard (10.6.8), and I would like to develop with Java 7. I downloaded the Java 7 OS X installer from Oracle\'s website, started to run it.

相关标签:
9条回答
  • 2020-11-30 22:52

    The answer from @reukiodo is definitely the way to go, so thanks a bunch!. However, it might need some further explanation for newbs like myself.

    1. Download the two DMG's that @reukiodo posted links to.
    2. Install Pacifist.
    3. Open the java-DMG with pacifist.
    4. In the 'Package Contents'-tab (default tab), select the 'Contents of JDK 7 Update XX.pkg' (XX being e.g. 51)
    5. Click the 'Install' button and follow the on-screen instructions.
    6. Open Java Preferences.app in yout Utilities folder and drag Java SE 7 to the top of the list of Java versions in the 'General'-tab (default tab)
    7. (OPTIONAL: Work with Eclipse: Follow the steps by Heath Borders answered to another, but similar question. NB! This is actually for OSX 10.7 Lion, but the same procedure holds, and it worked for me on 10.6.8 Snow Leopard.)
    0 讨论(0)
  • 2020-11-30 23:04

    I have changed the version in the /System/Library/CoreServices/SystemVersion.plist based on this video tutorial http://www.youtube.com/watch?v=eFi-H-7-PD4

    0 讨论(0)
  • 2020-11-30 23:06

    I had the same problem and was not able to google the proper way to do it. At the end I came up with solution myself and put it on my blog:

    http://jksha.blogspot.se/2013/09/java-7-and-snow-leopard-osx-106.html

    0 讨论(0)
提交回复
热议问题