Dom wrote:
> I did everything as you suggested, but I get the same message from
> Eclipse. Should it worry me that the "java -version" command is still
> saying version 1.4.2_03?
>
> Dom
>
> Manish Pandit wrote:
>> Click on Window/Prererences/Java/Installed JREs. Then you can see the
>> JDK versions listed on the right side tab. Check the 1.5 version if not
>> checked already. Alternatively, you can add the 1.5 JDK using the 'add'
>> button.
>>
>> Hope this helps!
>>
>> -cheers,
>> Manish
>
I would clean up you Java on your machine. I would do The Following:
- Uninstall older versions of java (JDK\JRE):
Go to Menu Start \ Control Panel \ Add Remove Programs..
Look and see what Java version that are installed. It looks like you
have more than one version installed.
- Uninstall the older Java installs(JDK\JRE). Personally I would get rid
of all the installed Java versions you have and install the latest Java
JDK 1.6.0 version.
- Now Set your Dos environment vars for Java. This why you are getting
the 1.4.2_03 when you run the Java command. The JAVA_HOME is set to
1.4.2_03. So:
Go to Menu Start \ Control Panel \ System \ Advanced \ Environment vars
button. Now set you Java_Home to the Java you want to use...
Now the DOS will point to the JDK you want. You can now do what Manish
suggested from Eclipse.
--
Thanks in Advance...
http://ichbin.9999mb.com
IchBin, Pocono Lake, Pa, USA
http://weconsultants.phpnet.us
__________________________________________________ ____________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)