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

前端 未结 15 2185
执笔经年
执笔经年 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:26

    After installing Oracle JRE and JDK, open Info.plist inside Eclipse.app(right click, show contents) and paste after "Eclipse" "-vm/System/Library/Frameworks/JavaVM.framework/JavaVM"

    Mine looks like this:

        Eclipse
        
            -vm/System/Library/Frameworks/JavaVM.framework/JavaVM
            -keyring~/.eclipse_keyring
            -showlocation
        
    

    If you do that, you will not have to update the file after upgrading JRE.

提交回复
热议问题