Workspace/Default SDK #180
Replies: 2 comments
-
@joaoLouceiro I don't know a way to pass compiler arguments to |
Beta Was this translation helpful? Give feedback.
-
Hey, guys! So, I think I (kinda) got it figured out. Basically, the JDTLS workspace configurations are stored inside the ~/.cache/nvim/jdtls/workspaces Now, since I'm a newborn in this thing, and this was my first project, I could deal with simply deleting the whole workspace, reopening nvim, trying to run the :JavaRunnerRunMain command and, ta-da, it's pointing to my default SDK. For now, this seems to have solved the problem. If not, it's a step in the right direction and I hope it helps someone. Cheers! |
Beta Was this translation helpful? Give feedback.
-
I'm pretty new to vim/neovim and this is the first time I'm actually trying to use this as my IDE.
Problem: when I run :JavaRunnerRunMain from inside my project's folder, it's trying to use Java_21:
This is asking me to run with '--enable-preview' which, honestly, I have no idea how to do in this case, so if you can help with that, I'd appreciate it.
Weird thing, for me, is that, if I run this exact same class from the parent folder, it used a different SDK (which should work without --enable-preview"):
Never mind all the "was compiled by x, you're trying to run with y".
Where can I find where nvim-java looks for the SDK?
Beta Was this translation helpful? Give feedback.
All reactions