• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

about JVM version

 
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i want to installed eclipse WTP but when i click on exe file it shows box showing jvm version required 1.4 or greater i have jdk 1.4.2 then i don't know why it is giving error but when i give command c:\> java -version it shows jdk 1.3 so what is the problem
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have Oracle software installed on your machine?

Oracle has the bad habit of supplying a Java version 1.3 JRE with their software. Check the setting of the PATH environment variable. Make sure that you remove the Oracle JRE from the PATH, and make sure that the bin directory your Java 1.4.2 JDK is in the PATH.

For instructions on setting the PATH, see the JDK installation notes (step 5 explains how to set the PATH).
 
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
look at the PATH system variable..Before it gets to the jvm 1.4 it finds jvm 1.3.x .That is the reason.Two jdk installations's bin are in PATH i suspect.
 
ravindra patil
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by ravindra patil:
i want to installed eclipse WTP but when i click on exe file it shows box showing jvm version required 1.4 or greater i have jdk 1.4.2 then i don't know why it is giving error but when i give command c:\> java -version it shows jdk 1.3 so what is the problem



thanks Mr. young i removed that oracle path setting and very happy because now it is showing 1.4
 
ravindra patil
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by ravindra patil:
i want to installed eclipse WTP but when i click on exe file it shows box showing jvm version required 1.4 or greater i have jdk 1.4.2 then i don't know why it is giving error but when i give command c:\> java -version it shows jdk 1.3 so what is the problem



thanks Mr. young i removed that oracle path setting and very happy because now it is showing 1.4
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic