|cant run eclipse for java developer [message #633442]
||Sun, 17 October 2010 21:12
Registered: October 2010
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.
|Re: cant run eclipse for java developer [message #633808 is a reply to message #633611]
||Tue, 19 October 2010 09:32
| Eric Rizzo
Registered: July 2009
On 10/18/10 10:23 AM, Russell Bateman wrote:|
> On 2010.10.17 19:13, email@example.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.
Also, please pay attention to the "sticky" posts at the top of this
forum group. There is one that specifically says "Can't get Eclipse to
run? READ THIS"
Powered by FUDForum
. Page generated in 0.01921 seconds