Sudo apt install default-jre # version 2:1.11-72 I think you may have a X-Y problem, namely that all you really want is a JVM for your system.Īs suggested by running java on a Ubuntu 20.04 LTS WSL instance: javaĬommand 'java' not found, but can be installed with: