fixed ifs in install.sh:install_jvm