0

when i type in java or javac it tells me

the program 'java' can be found in the following packages:

I'll put in a screen shot, but when I type the command

sudo apt-install <selected package>

it will do nothing :/

Help is very much appreciated. You can find the picture of the Terminal here: enter image description here

Alvar
  • 17,058

1 Answers1

2

You've spelled defult-jre, when it's supposed to be default-jre.

If you use the middle click on your mouse (mouse wheel button), you will paste the last marked text. So if you mark a package name and type sudo apt-get install (mouse wheel click), it will be correctly spelled.

Also using tab will ensure that it's correctly spelled.

Related:

Alvar
  • 17,058