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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -