add java env for emacs;