def java_install(self):
sudo('<STR_LIT>')<EOL>java_home = run('<STR_LIT>'<EOL>'<STR_LIT>')<EOL>append(bigdata_conf.global_env_home, '<STR_LIT>'.format(<EOL>java_home<EOL>), use_sudo=True)<EOL>run('<STR_LIT>'.format(bigdata_conf.global_env_home))<EOL>
install java
:return: