How do I run Eclipse using Oracle's new 1.7 JDK for the Mac?

前端 未结 15 2226
执笔经年
执笔经年 2020-11-28 22:47

I\'m trying to get the new 1.7 JDK working with Eclipse (this is Oracle\'s official release).

I don\'t mean just pointing Eclipse to it so you can use it in projects

15条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-28 23:27

    Just edit

    Eclipse.app/Contents/Info.plist
    

    You have to use a specific Java version (instead of the platform's default) uncomment one of the following options:

    -vm
    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
    

    This helped me rollback from 1.7.0 to 1.6.0.

提交回复
热议问题