If this command indicates that Java is not found, then it’s not installed and you can proceed with the next steps. In the name of due diligence, first check to see if Java is already installed by issuing the following command: java - versionĬommand 'java' not found, but can be installed with: You don’t need to setup Java on Ubuntu if someone has already installed it for you.