• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with java -version

 
Joel Karimpil
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Stefan Krompass
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

Stefan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic