[platform] rewriting JRE lookup conditions in Windows .bat launcher