5

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.

Kulfy
  • 17,416
  • 26
  • 64
  • 103
slavhadz
  • 51
  • 1
  • 3
  • No, I'm just running the command – slavhadz Mar 21 '20 at 19:55
  • # deb cdrom:[Ubuntu 18.04.4 LTS _Bionic Beaver_ - Release amd64 (20200203.1)]/ bionic main restricted – slavhadz Mar 21 '20 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 '20 at 20:27
  • I just ran the command and got prompted to it in the console. – slavhadz Mar 21 '20 at 21:05
  • Actually i'm prompted to that window if I try to install any version now. I got really stuck with that. – slavhadz Mar 21 '20 at 21:36
  • For God's sake, that solved the problem! It's appreciated really. – slavhadz Mar 21 '20 at 21:47
  • 5
    Does this answer your question? [How can I accept the Microsoft EULA agreement for ttf-mscorefonts-installer?](https://askubuntu.com/questions/16225/how-can-i-accept-the-microsoft-eula-agreement-for-ttf-mscorefonts-installer) Licenses are accepted in similar ways :) – Kulfy Mar 21 '20 at 21:53

1 Answers1

6

Press the Tab key.

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

Eliah Kagan
  • 116,445
  • 54
  • 318
  • 493
shvahabi
  • 942
  • 8
  • 12