Nvim: Use Java 19 with jdtls

This commit is contained in:
Marko Korhonen 2023-05-05 10:17:44 +03:00
parent 4b8c40073e
commit bc9ef5a1cd
No known key found for this signature in database
GPG Key ID: A7F78BCB859CD890

View File

@ -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",