Doubt about jre path set

is it important to set path of jre also in windows 8?