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

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

    On a Mac above does not seem to work. For me with Eclipse KEPLER it worked by adding

    -vm /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/
    

    at the end of my eclipse.ini (without that linebreak)

    This finally changed my Eclipse Installation Details > Configuration from

    -vm /System/Library/Frameworks/JavaVM.framework

    to

    -vm /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib

    This did not work with my Eclipse INDIGO installation.

提交回复
热议问题