$ sudo apt install eclipse eclipse-jdt
Then, tried to install eclim using use-package in Emacs:
(use-package eclim
:ensure t
:config
(require 'eclim)
(setq eclimd-autostart t)
(defun my-java-mode-hook ()
(eclim-mode t))
(add-hook 'java-mode-hook 'my-java-mode-hook))
It seems, it did not install it. Then, I used terminal:
downloaded:
eclim_2.8.0.bin
debian# cd Downloads
debian# ./eclim_2.8.0.bin
Welcome to the installer for eclim 2.8.0. Please specify the root directory of your eclipse install. Ex: /opt/eclipse /usr/local/eclipse
> /home/tom/.eclipse/
The eclipse launcher/executable could not be found in that directory
eclipse is installed in ~/.eclipse
Also, how to configure executable directory path, using use-package in Emacs?
(setenv "PATH" (concat "/home/tom/.eclipse:" (getenv "PATH"))) (add-to-list 'exec-path "/home/tom/.eclipse")
before(use-package eclim...)