0

I installed Oracle Java Jdk 12 from here:

https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html

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 04 '19 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.... – user1868607 Jun 04 '19 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 04 '19 at 18:44
  • @heynnema is for personal use that i want it. is just i don't see what the installation command is – user1868607 Jun 05 '19 at 15:42

1 Answers1

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.

heynnema
  • 73,937
  • I donwloaded the tar.gz, then added the bin file to the path, this was the way it worked for me – user1868607 Jun 05 '19 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 05 '19 at 17:14