move java-mode-hook to gtags