Installs Java from the webupd8 PPA and applies the specified configuration.