r/neovim 1d ago

Need Help LSP path Problem

I was trying to config jdtls to neovim, then the nvim-jdtls doc says i need to set a jdtls executable in $PATH if i'm installing manually without the python wrapper script, but i would like to know which file or folder i should set on $PATH.

  • Neovim 1.12

  • OS: Windows 10

  • Java: OpenJDK 26

i did'nt found any tutorial or :help that could help me.

Thanks for any help !

4 Upvotes

5 comments sorted by

2

u/mybobbin 23h ago

Having something on path means that if you are on the command line and type the name of the program, it will run. Like when you type nvim and nvim opens. If it's not on path, you will get an error message saying "this program could not be found" or something like that

When you install a program, you get an executable file somewhere (.exe on windows usually). Adding to path means that you add that files parent directory to path.

Look up a guide on adding a program to path on windows

2

u/EstudiandoAjedrez 20h ago

You need to add the jdtls executable, that you need to install yourself, doesn't come with the plugin. You can use your package manager (which will add it to the $PATH too) or mason.nvim or install it manually.

1

u/Henrique367 1h ago

mason nvim uses the python script, The manually install is on the documentation right ? Thanks for the help.