Skip to content

Instantly share code, notes, and snippets.

@JQL
Created November 3, 2018 15:43
Show Gist options
  • Save JQL/de5db12ef8a6d4d7e5a067862c62a77b to your computer and use it in GitHub Desktop.
Save JQL/de5db12ef8a6d4d7e5a067862c62a77b to your computer and use it in GitHub Desktop.
Solving the OpenJDK 11 Mystery - Linux
Did you use "sudo apt-get install openjdk-11-jdk" to install OpenJDK only to find you've got OpenJDK 10 installed instead?
Here's the solution:
1. Open Terminal
2. Add OpenJDK's PPA : sudo add-apt-repository ppa:openjdk-r/ppa \
3. Update the repository: sudo apt-get update
4. Install OpenJDK 11 : sudo apt install openjdk-11-jdk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment