解决JVM is not suitable for this product

 时间:2024-10-12 09:20:15

1、eclipse启动时报错 Version 1.4.2_03 of the JVM is not suit锾攒揉敫able 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、首先查看本机电脑的JDK版本,在控制台输入 Java -version , (注:图中是我配置好的JDK1.6,你看到的应该是1.4及以下版本的JDK),如果JDK版本在1.4及以下,是不能使用最新的eclipse的

解决JVM is not suitable for this product

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

解决JVM is not suitable for this product

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

解决JVM is not suitable for this product

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

解决JVM is not suitable for this product

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

解决JVM is not suitable for this product

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

  • thinkphp如何在html页面输出数据库数据
  • 怎么启动mysql数据库服务器
  • 如何导入MySQL数据库
  • IntelliJ IDEA 怎么运行项目
  • sql文件怎么导入数据库Navicat
  • 热门搜索
    默契的近义词 口红怎么涂 发型男 日k线图怎么看 坐地铁怎么买票 设计方案怎么写 风热感冒和风寒感冒的区别 神采奕奕的近义词 头痛恶心是怎么回事 肾积水是怎么回事