I installed Oracle Java Jdk 12 from here:


But the installation explanation is cryptic to me:

Unpack the tarball and install the JDK: $ tar zxvf jdk-12.interim.update.patch_linux-x64_bin.tar.gz

The Java Development Kit files are installed in a directory called jdk-12.interim.update.patch.

But it doesn't tell what command to use to install it.

  • You didn't get jdk 12... you got a patch for jdk 12. Oracle Java license has changed. You may wish to install OpenJDK instead.
    – heynnema
    Jun 4, 2019 at 18:15
  • @heynnema that means i have to pay for the oracle jdk? Unfortunately i was working with a program synthesis tool and open jdk doesnt work.... Jun 4, 2019 at 18:33
  • I don't know. Read the new licensing info at the web link you gave. It says it's ok for personal use only.
    – heynnema
    Jun 4, 2019 at 18:44
  • @heynnema is for personal use that i want it. is just i don't see what the installation command is Jun 5, 2019 at 15:42

1 Answer 1


Go here to get to the download page.

Note the new licensing agreement...

enter image description here

Go to the bottom of the page, find the area shown below, accept the license agreement, click the download link...

enter image description here

Once downloaded, double-click on the .deb file to install it.

  • I donwloaded the tar.gz, then added the bin file to the path, this was the way it worked for me Jun 5, 2019 at 16:58
  • @Javier I'm glad it's working for you, but those were not my instructions. I suggested using the .deb file. You can still do that, and remove your path changes.
    – heynnema
    Jun 5, 2019 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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