|
Re: cant run eclipse for java developer [message #633611 is a reply to message #633442] |
Mon, 18 October 2010 14:23 |
|
On 2010.10.17 19:13, evenoft@gmail.com wrote:
> i have installed java 6 update 22 but i still get this message:
> "Version 1.4.2_03 of the JVM is not suitable for this
> product. Version: 1.5 or greater is required."
>
> i type java -version in command line
> i get get the version of my java is 1.4.2_06
> but go into control panel, check the java version : 1.6.0_22
>
> how can i fix it....please help me
> my computer OS is XP sp3.
Here's what is probably happening...
While you've installed Java 1.6, your JAVA_HOME and/or your PATH
variable is/are incorrectly set. They're pointing to an earlier
installation of Java 1.4. This is why java -version is getting you an
older JRE.
Second, if you're installing Eclipse as appears obvious, be certain to
download jdk1.6.0_22 NOT the more public/consumer thing called a JRE.
You will want the JDK.
You may or may not install the JDK on your machine and you do not have
to install it for Eclipse--just download it someplace and point to it
from eclipse.ini.
If you would like to read more in-depth on this, peruse the first
article or two under the heading "Eclipse-oriented" at
http://www.javahotchocolate.com
|
|
|
|
Powered by
FUDForum. Page generated in 0.08183 seconds