remove dependency on jre. fixes LOGSTASH-1020 and github issue #5238