Thursday, May 5, 2016

Installing Java Development Kit (OpenJDK)


Blacklight requires a Java Runtime Environment of 1.7 or higher. We will install the OpenJDK developer package on the server. If you would like to install the Oracle JDK, Oracle has instructions published on its JDK installation page. I found the OpenJDK installation instructions for Red Hat Linux on the OpenJDK site here.

1. In the system console, type the following and press Return:

# yum install java-1.8.0-openjdk-devel

The system console will ask you to confirm the installation during the process.

2. Once OpenJDK successfully installs, you can check the java version with the following command:

# java -version

The system console should respond with

openjdk version "1.8.0_91" OpenJDK Runtime Environment (build 1.8.0_91-b14) OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)

If you see, this - congrats! OpenJDK is installed.


Previous post: Installing Node.js and EPEL

Next post: Installing Rails

No comments:

Post a Comment