centOS6.7 /etc/profile

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

#JAVA_HOME
JAVA_HOME=/usr/java/jdk1.8.0_101
JRE_HOME=/usr/java/jdk1.8.0_101/jre
#PATH=$JAVA_HOME/bin:$PATH
#export PATH=$PATH

#hadoop
HADOOP_HOME=/usr/hadoop-2.7.3

#zookeeper
ZOOKEEPER_HOME=/usr/zookeeper-3.4.6

PATH=$JAVA_HOME/bin:$HADOOP_HOME/bin:$ZOOKEEPER_HOME/bin:$PATH
export PATH=$PATH

source /etc/profile

转载于:https://my.oschina.net/duanvincent/blog/968148

你可能感兴趣的:(java,python)