Moving java hook to init.el