SHARE
TWEET

Untitled

a guest Feb 19th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ sudo yum -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel
  2.  
  3. $vim .bash_profile
  4.   export JAVA_HOME=/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64
  5.   export PATH=$PATH:$JAVA_HOME/bin
  6.   export PATH=$PATH:$JAVA_HOME/jre/bin
  7.  
  8. $ source ~/.bashrc
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top