Our great sponsors
-
mason.nvim
Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
intellij-plugins
Open-source plugins included in the distribution of IntelliJ IDEA Ultimate and other IDEs based on the IntelliJ Platform
Have you used this to configure java? https://github.com/AstroNvim/astrocommunity/blob/main/lua/astrocommunity/pack/java/init.lua
How does your Astro config look like? Are you utilizing Mason? https://github.com/williamboman/mason.nvim
The only thing I would actually recommend as an alternative, and I literally only say this for working with Java, is to try IntelliJ. They have a community edition that is completely free and my God is it maybe the best IDE for Java in existence. It's reasonably fast, can support Vim bindings if you'd like (via a plugin), and has the best in class refactoring tools that has ever existed. I would seriously recommend giving it a try if you're primarily working in Java and you don't want to spend the time (in the near term) becoming a Neovim configuration expert.
When I had to use Java for uni, I used the javacomplete2 plugin which I've found to do a better job than the Java language server. I've just check and apparently it's deprecated in favor of jc.nvim which is based on jdtls (which I remember was very heavy on resources and provide very little in return, but maybe things changed since then) but from the same author, so if you still want to use Neovim for Java you should at least check it out.
I use Java at my work everyday and only use nvim for development. I am quite sure, that my nvim lua setup could be better but here is it: dots
IntelliJ with Vim bindings is really good! It is actively supported so patches come often to fix some discrepancies with the original software. It even supports a handful of plugins out of the box.