fixed to properly depend on jre or openjdk
release 2