GeeCON Prague 2014*
The moose likes Beginning Java and the fly likes version 1.4.2_03 of the jvm is not suitable for this product. 1.5 or greater is required problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "version 1.4.2_03 of the jvm is not suitable for this product. 1.5 or greater is required problem" Watch "version 1.4.2_03 of the jvm is not suitable for this product. 1.5 or greater is required problem" New topic
Author

version 1.4.2_03 of the jvm is not suitable for this product. 1.5 or greater is required problem

Adnan Gondal
Ranch Hand

Joined: Apr 30, 2011
Posts: 32
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
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14193
    
  20

Do you maybe have Oracle database software installed on your system? Some versions come included with a Java 1.4 JRE. Maybe Eclipse is picking that up instead of your Java 6 JRE.

When you type java -version on the command line, then what version does it show?

Modify your PATH environment variable so that Java 6 is first in the PATH, before any Java 1.4 installation.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

Jesper de Jong wrote:Do you maybe have Oracle database software installed on your system? Some versions come included with a Java 1.4 JRE.

Or worse, a Java 1.3 JRE...


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Walter Gabrielsen Iii
Ranch Hand

Joined: Apr 09, 2011
Posts: 158
Can you go into Eclipse's preferences, like you can in NetBeans, and see which directory and packages are registered with Java (SE I assume?)?
 
GeeCON Prague 2014
 
subject: version 1.4.2_03 of the jvm is not suitable for this product. 1.5 or greater is required problem