make a Windows Environment Variables of the location of java. To find where java is located: wmic product where "Name like ''" get installlocation,Name