on windooze open a command prompt and type set, look in the path for the jre