fix issue #27 - the usage of JDK instead of JRE