remove existing jre detection in the jre resource