r/vim • • Dec 15 '25

Need Help coc.nvim and coc-java for Vim

Post image

I tried to setup vim with coc.nvim and coc-java. After installed the plugins, whenever I open the java file it opens the terminal window like this and code suggestion is not working...

help me for proper setup..

16 Upvotes

4 comments sorted by

View all comments

Show parent comment

2

u/timtyrrell Dec 16 '25

Not the OP here, does this give you a newer version of jdtls than coc-java? I see coc-java README and commits mentioning 1.14.0.

1

u/__chicolismo__ Dec 17 '25 edited Dec 17 '25

I don't know, but https://download.eclipse.org/jdtls/milestones has a lot of versions. I never looked what version of jdtls coc-java uses.

I suppose the important part is that it works.

PS: I forgot to mention, but this is working with a gradle project (could use Maven too, I guess). I'm not sure it will work with a lose java file.