jvm的1.4.2_03版本不适合本产品。需要1.5以上的问题 [英] version 1.4.2_03 of the jvm is not suitable for this product. 1.5 or greater is required problem

查看:573
本文介绍了jvm的1.4.2_03版本不适合本产品。需要1.5以上的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我安装了windows xp 2002 service pack2,eclipse在同一个窗口中工作正常,但是当我运行eclipse时,它给出了1.4.2_03版本不适用于该产品.1.5或更高版本需要 / strong>消息,不运行。为了检查我的jvm版本,我访问过java.com并点击免费的java下载按钮,它验证了我已经推荐使用java安装(1.6.0_27-ea),但是eclipse正在给出上面提到的消息。请告诉我应该我做?

Today i installed windows xp 2002 service pack2, eclipse was working fine on previous same window but now when i run eclipse it gives "version 1.4.2_03 is not suitable for this product.1.5 or greater is required" message and does not run. For checking my version of jvm, i visited java.com and clicked upon free java download button, it verified that i am having recommended java installed(1.6.0_27-ea) but eclipse is giving above mentioned message.Kindly tell me that what should i do?

提前感谢

推荐答案

转到eclipse的目录安装并找到一个名为 eclipse.ini 的文件。打开它并添加以下行

Go to the directory where eclipse is installed and find a file called eclipse.ini. Open it and add the following lines


-vm

C:\Java\JDK\1.5\\ \\ bin \javaw.exe

-vm
C:\Java\JDK\1.5\bin\javaw.exe

确保:


  1. 您可以在该文件中的任何 -vmargs 选项之前添加该文本。

  2. -vm 在其自己的行上,并且 javaw.exe 的路径是自己的一行。

  3. 您指定完整路径到您的JDK 1.5的 javaw.exe

  1. You add that text before any -vmargs option that may be in that file.
  2. The -vm is on its own line and the path to javaw.exe is on its own line.
  3. You specify the full path to your JDK 1.5's javaw.exe

这篇关于jvm的1.4.2_03版本不适合本产品。需要1.5以上的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆