From e10e182a456fc80719a7fe79a4be3008d3faaa17 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 7 Mar 2023 10:46:12 -0500 Subject: [PATCH] Fix java home path --- emacs/.emacs.d/config/init-java.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/.emacs.d/config/init-java.el b/emacs/.emacs.d/config/init-java.el index fa7a1fd..4aadc6f 100644 --- a/emacs/.emacs.d/config/init-java.el +++ b/emacs/.emacs.d/config/init-java.el @@ -8,10 +8,10 @@ :custom (lsp-java-maven-download-sources t) (lsp-java-configuration-runtimes '[(:name "JavaSE-11" - :path "/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk" + :path "/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home" :default t) (:name "JavaSE-17" - :path "/Library/Java/JavaVirtualMachines/amazon-corretto-17.jdk")])) + :path "/Library/Java/JavaVirtualMachines/amazon-corretto-17.jdk/Contents/Home")])) (defvar java-debug-map (make-sparse-keymap)) (general-def java-mode-map