Create a gist now

Instantly share code, notes, and snippets.

Embed
$ (
> sudo apt-get install default-jre
> sudo apt-get install default-jdk
> )
...
$ java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment