Adding support to install java in case its not managed somewhere else