Java: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
Boiarino (talk | contribs)
Line 5: Line 5:
Install following packages:
Install following packages:


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


'''DO NOT DO THAT !''' Fix symbolic links in ''/etc/alternatives'' area:
'''DO NOT DO THAT !''' Fix symbolic links in ''/etc/alternatives'' area:

Revision as of 09:58, 12 July 2019

This page describes java installation for clon machines.

RHEL7, RHEL6

Install following packages:

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

DO NOT DO THAT ! Fix symbolic links in /etc/alternatives area:

cd /etc/alternatives
rm -f 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 -f javac
ln -s /usr/lib/jvm/java-1.8.0-oracle-1.8.0.51-1jpp.2.el7_1.x86_64/bin/javac javac


Install groovy (RHEL7):

yum install groovy groovy-javadoc

Install groovy (RHEL6):