use generic jre instead of hard coded jre7