Added 'package's functions for jre and jdk