为什么在 MacO 上启动 Eclipse 时出现此错误消息
我尝试在 MacOS 10.5.8 上使用 Eclipse Java EE,但是当我启动 IDE 时,我收到此错误:
The JVM shared library "/System/Library/Frameworks/JavaVM.framework"
does not contain the JNI_CreateJavaVM symbol.
在控制台模式下,如果我运行 java -version,结果是:
java version "1.5.0_28"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_28-b04-382-9M3326)
Java HotSpot(TM) Client VM (build 1.5.0_28-157, mixed mode, sharing)
你有想法吗?
I try to use Eclipse Java EE on MacOS 10.5.8 but when I launch the IDE, I receive this error :
The JVM shared library "/System/Library/Frameworks/JavaVM.framework"
does not contain the JNI_CreateJavaVM symbol.
In console mode, If I run java -version,the result is :
java version "1.5.0_28"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_28-b04-382-9M3326)
Java HotSpot(TM) Client VM (build 1.5.0_28-157, mixed mode, sharing)
Do you have an idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最后,这不是由于 Eclipse,而是由于 Mac OS 上的 Java。我升级到 Java Update 9,现在工作正常。
Finally, it is not due to Eclipse but to Java on Mac OS. I upgraded to Java Update 9 and it is working fine now.