This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes problem with java -version Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "problem with java -version" Watch "problem with java -version" New topic
Author

problem with java -version

Joel Karimpil
Ranch Hand

Joined: Oct 04, 2004
Posts: 53
i have installed jdk1.4.2_06,
and set my JAVA_HOME variable to c:j2sdk1.4.2_06,
but still, when i run the command 'java -version' in the command prompt, it returns j2sdk1.3.1_02.
why is this?


Yours Truly,
Joel Karimpil
Stefan Krompass
Ranch Hand

Joined: Apr 29, 2004
Posts: 75
Hi,

remove c:\j2sdk1.3.1_02\bin from your PATH and add c:\j2sdk1.4.2_06\bin instead.

Stefan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with java -version