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

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

    Check your java_home is corrento in /usr/libexec/java_home;

    Do not change your eclipse.ini and edit the Info.plist file and change/add this line < string>-vm< /string>< string>/Library/Java/JavaVirtualMachines/'jdk-version-your'/Contents/Home/bin/java< /string> and save. Open Eclipse and done!

    For me it worked well, and to use javafx e(fx)clipse!

    PS: On a Mac OS X system, you can find Info.plist by right-clicking (or Ctrl+click) on the Eclipse executable in Finder, choose Show Package Contents, and then locate Info.plist in the Contents folder.

提交回复
热议问题