• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Runtime Environment Doesn't Seem to be Updating  RSS feed

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I tried searching for some threads for my issue, but couldn't seem to find the answer, so starting a new thread...I updated Java on Windows 7 from 1.7.0_40 to 1.7.0_45. I'm also updating from a jre package to a jdk. After installing _45, I updated %JAVA_HOME% and verified that %JAVA_HOME% is correctly set in my path. When I echo %JAVA_HOME%, I see that it's pointed to the latest version installed.

However, running the java -version command in my console still gives me the previous runtime env version. I did some research, and even snooped around the Java Control Panel, and noticed that the system runtime env was still set to the previous version, and I was also unable to edit the settings. I also noticed that in the User env section, that my latest install wasn't picked up, so I manually added it. Perhaps this could be the problem (shoddy install?), but if there's any suggestions out there on how to get java -version to display properly, I would greatly appreciate it. I will also try and re-install jdk as well.

Thanks in advance,

JP
 
lowercase baba
Bartender
Posts: 12565
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i don't think %JAVA_HOME% is used for that. I think you need to edit your %PATH% variable to point to the new install.
 
Marshal
Posts: 56600
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAVA_HOME is only used like that if you use the method in our FAQ to set the PATH.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!