From bc9ef5a1cd2675454ac6dd3313820d0ba2fc07e0 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Fri, 5 May 2023 10:17:44 +0300 Subject: [PATCH] Nvim: Use Java 19 with jdtls --- home/.config/nvim/ftplugin/java.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.config/nvim/ftplugin/java.lua b/home/.config/nvim/ftplugin/java.lua index 4a89998..a799e52 100644 --- a/home/.config/nvim/ftplugin/java.lua +++ b/home/.config/nvim/ftplugin/java.lua @@ -4,7 +4,7 @@ local workspace_dir = nvim_local_dir .. "/jdtls-workspaces/" .. project_name require("jdtls").start_or_attach({ cmd = { - "/usr/lib/jvm/java-17-openjdk-amd64/bin/java", + "/usr/lib/jvm/java-19-openjdk-amd64/bin/java", "-Declipse.application=org.eclipse.jdt.ls.core.id1", "-Dosgi.bundles.defaultStartLevel=4", "-Declipse.product=org.eclipse.jdt.ls.core.product",