Changed used jre to avoid warning