Java: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
Boiarino (talk | contribs)
Line 17: Line 17:
  rm java
  rm java
  ln -s /usr/lib/jvm/java-1.8.0-oracle-1.8.0.51-1jpp.2.el7_1.x86_64/jre/bin/java java
  ln -s /usr/lib/jvm/java-1.8.0-oracle-1.8.0.51-1jpp.2.el7_1.x86_64/jre/bin/java java
rm javac
ln -s /usr/lib/jvm/java-1.8.0-oracle-1.8.0.51-1jpp.2.el7_1.x86_64/bin/javac javac

Revision as of 10:52, 4 August 2015

This page describes java installation for clon machines.

RHEL7

Install following packages:

yum install java-1.8.0-oracle
yum install java-1.8.0-oracle-devel
yum install java-1.8.0-oracle-javafx
yum install java-1.8.0-oracle-jdbc
yum install java-1.8.0-oracle-plugin
yum install java-1.8.0-oracle-src

Fix symbolic links in /etc/alternatives area:

cd /etc/alternatives
rm java
ln -s /usr/lib/jvm/java-1.8.0-oracle-1.8.0.51-1jpp.2.el7_1.x86_64/jre/bin/java java
rm javac
ln -s /usr/lib/jvm/java-1.8.0-oracle-1.8.0.51-1jpp.2.el7_1.x86_64/bin/javac javac