hadoop and java installing -


i trying install java , hadoop

in cantos

but when logging

'vi .bashrc` 

and had enter these commands

export java_home=/usr/lib/jdk1.7.0_51  export path=$path:$java_home/bin  export hadoop_home=/usr/lib/hadoop-0.20.2-cdh3u  export path=$path:$hadoop_home/bin 

after want check java version writing command

$ java -version 

this message show me

bash: java: java command not found 

what ???????????

help please

^_^

to reflect changes made in .bashrc have logout or restart system.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -