Skip to content

Instantly share code, notes, and snippets.

@pascal08
Created August 23, 2021 15:23
Show Gist options
  • Save pascal08/0613f30ae04f6592d8d538dce2ac58ff to your computer and use it in GitHub Desktop.
Save pascal08/0613f30ae04f6592d8d538dce2ac58ff to your computer and use it in GitHub Desktop.
Install Oracle JDK Ubuntu
  1. Install oracle-jdk11-installer
  2. Pick version: https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
  3. Download .tar.gz file: wget --no-check-certificate -c --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/11.0.12<<<truncated>>>.tar.gz
  4. Move .tar.gz to installer folder: sudo mv jdk-11.0.12_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/
  5. Run installer (uwith sudo perm.): apt install oracle-jdk11-installer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment