Eclipse on Mac 10.8 - Installed 1.7.0 JRE / JDK, but Eclipse won't launch

后端 未结 18 1006
深忆病人
深忆病人 2020-12-14 16:53
  • Installed Java SE 1.7.0u10 from Oracle w/ their installer package

  • Downloaded and unpacked Eclipse Juno (4.2.1)

  • Double click Eclipse

18条回答
  •  旧巷少年郎
    2020-12-14 17:07

    For what it's worth, the Eclipse team seems to have worked around it by replacing their dlopen()-based method with a CFBundleCreate()-based one: https://bugs.eclipse.org/bugs/show_bug.cgi?id=411361

    In case anybody has the same problem in their code that launches Java and does not want to resort to Apple-only APIs, I found an easier work-around: before dlopen()ing $JRE_HOME/lib/server/libjvm.dylib, make sure to open dlopen() $JRE_HOME/lib/jli/libjli.dylib. Then it won't ask to install Java 6.

提交回复
热议问题