解决JVM is not suitable for this product

 时间:2026-04-22 21:09:59

1、1.eclipse启动时报错 Version 1.4.2_03 of the JVM is not suitable for this product. Version:1.6 or greater is required.翻译过来的意思就是,1.4版本的JDK不适合eclipse,需要1.6及以上版本的JDK

解决JVM is not suitable for this product

2、2.首先查看本机电脑的JDK版本,在控制台输入 Java -version , (注:图中是我配置好的JDK1.6,你看到的应该是1.4及以下版本的JDK),如果JDK版本在1.4及以下,是不能使用最新的eclipse的

解决JVM is not suitable for this product

3、3.分析原因:我安装了oracle,oracle默认的使用是1.4的jdk。在环境变量path中看到 oracle的配置是在最前边的(可以拷贝出来到记事本当中查看),所以eclipse默认也就是使用1.4的jdk了

解决JVM is not suitable for this product

4、4.解决 安装JDK1.6 如下图

解决JVM is not suitable for this product

5、5.在环境变量中把JDK的路径配置到最前边

解决JVM is not suitable for this product

6、6.在控制台查看java版本,是否为1.6版本的JDK

解决JVM is not suitable for this product

7、7.如果JDK设置成功话,重启eclipse 就可以正常打开了!

  • thinkphp如何在html页面输出数据库数据
  • 怎么启动mysql数据库服务器
  • 如何导入MySQL数据库
  • IntelliJ IDEA 怎么运行项目
  • sql文件怎么导入数据库Navicat
  • 热门搜索
    怎么保护视力 小狗拉肚子了怎么办 万圣节用英语怎么说 缺锌怎么补 古代人怎么刷牙 怎么提升网速 小小说怎么写 小狗拉稀怎么办 欧莱雅洗面奶怎么样 怎么装修房子