Use package management to install Java