updated to include a simpler way to find windows jre.