Wednesday, February 4, 2015

windows - installed JRE in 64 bit Win7, nothing appears when typing "java" on CMD

so I was trying to run my java app on a 64 bit Windows 7. I installed manually a 64 bit JRE and then I typed "java", "javaw" and "java -version" on the CMD prompt and it didn't recognize neither the "java" nor "javaw" command. Same thing with a 32 bit JRE.


I set manually the path where java was installed in environment variables and that seemed to do the trick. But why isn't that done automatically by the JRE installer? Or is there any easier way of doing that? I don't want to tell how to fix this to every person how uses my program...
Thanks!

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...