Hi,
I am completely new to neovim. I want to set up Java LSP and debugging because I need it for a project.
I was not able to set it up with my own neovim config, so I tried to start at zero and follow the instructions from this GitHub repository (GitHub - magidc/nvim-config: My config for Neovim).
But I am still running into issues when opening a .java file.
Here is the error message I get:
Error detected while processing BufReadPost Autocommands for “":
Error executing lua callback: /snap/nvim/2801/usr/share/nvim/runtime/filetype.lua:21: Error executing lua: /snap/nvim/2801/usr/share/nvim/runtime/filety
pe.lua:22: BufReadPost Autocommands for "”…FileType Autocommands for “java”: Vim(append):Error executing lua callback: …8h/.local/share/nvim/lazy/nv
im-jdtls/lua/jdtls/setup.lua:217: LSP cmd must be an executable: /urs/bin/java
stack traceback:
[C]: in function ‘assert’
…8h/.local/share/nvim/lazy/nvim-jdtls/lua/jdtls/setup.lua:217: in function ‘start_or_attach’
…e/luis8h/.local/share/nvim/lazy/nvim-jdtls/lua/jdtls.lua:35: in function ‘start_or_attach’
/home/luis8h/.config/nvim/lua/lsp/configs/jdtls.lua:112: in function </home/luis8h/.config/nvim/lua/lsp/configs/jdtls.lua:111>
[C]: in function ‘nvim_cmd’
/snap/nvim/2801/usr/share/nvim/runtime/filetype.lua:22: in function </snap/nvim/2801/usr/share/nvim/runtime/filetype.lua:21>
[C]: in function ‘nvim_buf_call’
/snap/nvim/2801/usr/share/nvim/runtime/filetype.lua:21: in function </snap/nvim/2801/usr/share/nvim/runtime/filetype.lua:10>
stack traceback:
[C]: in function ‘nvim_cmd’
/snap/nvim/2801/usr/share/nvim/runtime/filetype.lua:22: in function </snap/nvim/2801/usr/share/nvim/runtime/filetype.lua:21>
[C]: in function ‘nvim_buf_call’
/snap/nvim/2801/usr/share/nvim/runtime/filetype.lua:21: in function </snap/nvim/2801/usr/share/nvim/runtime/filetype.lua:10>
stack traceback:
[C]: in function ‘nvim_buf_call’
/snap/nvim/2801/usr/share/nvim/runtime/filetype.lua:21: in function </snap/nvim/2801/usr/share/nvim/runtime/filetype.lua:10>
If I should provide additional information please let me know.
As I said before, I am very new to this stuff but I think it is very interesting, so I hope anybody can help me.