-
Check if you have Java installed.
-
Open a Terminal window.
-
Type:
java
If you see a “The program ‘java’ can not be found” message, you do not have Java installed and you will need to install it.
-
-
Install a Java runtime using the
apt-get
command. You may need to enter your user password.sudo apt-get install default.jre