Q1: It seems fine on my system using the latest JRE, so I think your install is borked.
Q2: That's easy, add your JDK or JRE bin folder to the PATH environment variable. Normally something like set PATH="%PATH%;%JAVA_HOME%/bin"
should do it (given that your JAVA_HOME
variable points to your JDK or JRE installation folder).