• Post Reply Bookmark Topic Watch Topic
  • New Topic

java software  RSS feed

 
siddharth das
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I installed java 6 software and set in the path accordingly.Then restart the system.In the command prompt,if I write java -version,it is showing java 1.4 which was prevoiously instaled.Why it is not reflected?

Thanks,
Siddharth Das
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
siddharth das wrote:Hi,
I installed java 6 software and set in the path accordingly.Then restart the system.In the command prompt,if I write java -version,it is showing java 1.4 which was prevoiously instaled.Why it is not reflected?


When you "set in the path accordingly", did you blindly added it to the end? Or did you confirm that Java wasn't elsewhere in the path?

Henry
 
siddharth das
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I first cut the previous java path and type the new path...
 
siddharth das
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
windows
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
siddharth das wrote:I first cut the previous java path and type the new path...


It's more than that. You may have a JVM installed in one of locations in your path -- such as windows system32 directory.

I recommend making the new java first on the path; this way, it will always pick the new JVM over the built in one.

Henry
 
siddharth das
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks...now it's working
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!