We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41d72bf commit 9743ddeCopy full SHA for 9743dde
lua/java-core/ls/servers/jdtls/env.lua
@@ -28,8 +28,10 @@ function M.get_env(opts)
28
29
local java_bin = path.join(java_home, 'bin')
30
31
+ local separator = system.get_os() == 'win' and ';' or ':'
32
+
33
local env = {
- ['PATH'] = java_bin .. ':' .. vim.fn.getenv('PATH'),
34
+ ['PATH'] = java_bin .. separator .. vim.fn.getenv('PATH'),
35
['JAVA_HOME'] = java_home,
36
}
37
0 commit comments