I am trying to install Java on Ubuntu 18.04. by running:

sudo apt install oracle-java14-installer

But when I reach the part where I have to accept the license agreement there is link leading to the Oracle page, but when I click on that link it's "Page not found". I'm stuck on this page?

message that i'm prompted to

How do I accept the license agreement? I'm using linuxprising's PPA.

  • No, I'm just running the command
    – slavhadz
    Mar 21, 2020 at 19:55
  • # deb cdrom:[Ubuntu 18.04.4 LTS Bionic Beaver - Release amd64 (20200203.1)]/ bionic main restricted
    – slavhadz
    Mar 21, 2020 at 20:17
  • I installed openjdk-14-jdk on my Ubuntu 19.10 server, but I cant find the license agreement. Can you explan how you got it?
    – Boba Fit
    Mar 21, 2020 at 20:27
  • I just ran the command and got prompted to it in the console.
    – slavhadz
    Mar 21, 2020 at 21:05
  • 5
    Does this answer your question? How can I accept the Microsoft EULA agreement for ttf-mscorefonts-installer? Licenses are accepted in similar ways :)
    – Kulfy
    Mar 21, 2020 at 21:53

1 Answer 1


Press the Tab key.

When the <Ok> text at bottom center gets RED, press Enter key.

Not the answer you're looking for? Browse other questions tagged or ask your own question.