diff options
author | Martin Polden <mpolden@mpolden.no> | 2022-06-23 20:15:52 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2022-06-23 20:15:52 +0200 |
commit | 6c1407011b3d8620e086a658407d73f496014099 (patch) | |
tree | 4ce9d1269e78e1ca56c429d05b2d33431a62f284 /Makefile | |
parent | 26c78b0c5cc14e25c125f214c9011b83666427d8 (diff) |
makefile: update install-lsp-java message
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,7 +1,7 @@ CURDIR ?= $(.CURDIR) BREW ?= $(shell command -v brew 2> /dev/null) BREW_EMACS_FLAGS ?= --with-native-comp -JDT_LS_VERSION ?= 1.9.0 +JDT_LS_VERSION ?= 1.12.0 JDT_LS_HOME ?= $(CURDIR)/eclipse.jdt.ls-$(JDT_LS_VERSION) LN_FLAGS := -sfn @@ -37,10 +37,9 @@ install-lsp-java: curl -fsSL https://download.eclipse.org/jdtls/milestones/$(JDT_LS_VERSION)/$$FILE | \ tar -C $(JDT_LS_HOME) -xf - @echo "eclipse jdt ls $(JDT_LS_VERSION) installed in $(COLOR)$(JDT_LS_HOME)$(NO_COLOR)" - @echo "emacs/eglot needs the following environment variables set:" - @echo "- $(COLOR)JAVA_HOME$(NO_COLOR) containing the path to a jdk installation" - @printf -- "- $(COLOR)CLASSPATH$(NO_COLOR) containing $(COLOR)%s$(NO_COLOR)\n" \ - $(JDT_LS_HOME)/plugins/org.eclipse.equinox.launcher_*.jar + @echo "emacs/eglot requires the following environment variables:" + @echo "- $(COLOR)JAVA_HOME$(NO_COLOR) must contain the path to a jdk installation" + @echo "- $(COLOR)PATH$(NO_COLOR) must contain $(COLOR)$(JDT_LS_HOME)/bin$(NO_COLOR)" ln -nsf $(notdir $(JDT_LS_HOME)) $(CURDIR)/eclipse.jdt.ls install-lsp-python: |