adding java install and version checking to windows script