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?
Thanks in advance
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
Make sure:
-vmargs
option that may be in that file.-vm
is on its own line and the path to javaw.exe is on its own line.Try to uninstall previous Java version (if it is present)
Find and replace with newer version the 'java.exe' binary, located somewhere on C:\Java\JDK\1.5\bin\javaw.exe
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With