title: How to check whether java is installed on the computer
body: <p>I am trying to install java windows application on client machine.I want to check whether
  requried JRE is installed on the machine or not. I want to check it by java program not by cmd command</p>