java 1.6.0.65,启动Eclipse 4.4时出现错误“JVM的版本1.6.0_65”不适用于此产品。

在尝试运行Eclipse 4.4时,用户遇到了'JVM版本1.6.0_65不适用于此产品'的错误,尽管已安装了最新版本的Java。系统显示的Java版本为1.8.0_05。在eclipse.ini文件中已经设置了-vm参数指向JDK1.8,但问题仍然存在。解决方案可能涉及到检查是否使用了64位版本的Eclipse。
摘要由CSDN通过智能技术生成

I have a problem launching Eclipse 4.4 on my Mac. I'm getting the following error:

"Version 1.6.0_65 of the JVM is not suitable for this product."

I have the latest version installed. When I'm running java -version I'm getting:

java version "1.8.0_05"

Java(TM) SE Runtime Environment (build 1.8.0_05-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

Here is my eclipse.ini file where I already tried to explicit set the -vm parameter to my jdk1.8:

-startup

../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar

--launcher.library

../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.1.200.v20140603-1326

-product

org.eclipse.epp.package.standard.product

--launcher.defaultAction

openFile

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

256m

--launcher.defaultAction

openFile

--launcher.appendVmargs

-vmargs

-Dosgi.requiredJavaVersion=1.7

-XstartOnFirstThread

-Dorg.eclipse.swt.internal.carbon.smallFonts

-XX:MaxPermSize=256m

-Xms40m

-Xmx512m

-Xdock:icon=../Resources/Eclipse.icns

-XstartOnFirstThread

-Dorg.eclipse.swt.internal.carbon.smallFonts

-vm

/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/bin/java

解决方案

Please check if you got the x64 edition of eclipse. Someone answered this just a few hours ago.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值