Version 1.6.0_29 of the JVM is not suitabe for this product.Version:1.7 or greater is required.

   
打开Eclipse报:Version 1.6.0_29 of the JVM is not suitabe for this product.Version:1.7 or greater is required.错误



原因分析:Eclipse要求至少JDK1.7以上的版本,实际检测到的是JDK1.6
        
最简单的解决方法就是不需要修改环境变量,直接修改eclipse.ini即可:

    1. 打开Eclipse根目录下的eclipse.ini
        
    2. 在eclipse.ini文件的开头加上即可
        -vm
        D:/eclipse-4.5.0_32bit/jdk_1.8.05_32bit/jre/bin/client/jvm.dll
        
        注:路径D:/eclipse-4.5.0_32bit/jdk_1.8.05_32bit/jre/bin/client/jvm.dll是我的JDK安装路径

猜你喜欢

转载自www.cnblogs.com/mgt001/p/9232559.html