"Unable to locate a Java Runtime that supports apt." code example Example: install java ubuntu sudo apt install default-jdk