Fixed #9 with instructions from http://tecadmin.net/install-java-8-on-centos-rhel-and-fedora/
Fixed deprecations