Fix jdk/jre pkg extension