Skip to content

JavaRE Install

Javier Gusano Martinez edited this page Nov 30, 2016 · 2 revisions

Java Runtime Environment

KeyServer has been designed for usage with Java Runtime Environment 8. The user can install one of these two options.

  • OpenJDK
  • Oracle JRE

How to install Open JDK 8

For Ubuntu 16.04.x LTS or upper, you can install OpenJDK with this command.

sudo apt-get update
sudo apt-get install openjdk-8-jre-headless

This is enough for execute the KeyServer .jar file.

Check your OpenJDK installation

Execute this command:

$ java -version

If all works correctly, you should visualize something like this :

openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)

How to install Oracle Java 8 (JRE) on Ubuntu?

The easy way to install Oracle Java JRE 8 on your system is using the following commands:

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer

Check your OpenJDK installation

Execute this command:

$ java -version

If all works correctly, you should visualize something like this :

Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
Clone this wiki locally