Replies: 1 comment 1 reply
-
Hey @gmenih, that's odd that it's picking up the incorrect |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having some trouble getting nvim-metals to run properly on my M3 MacBook. I've had it running well on my Linux machine, and I'm using the exact same setup.
When I open a Scala file, I see this error:
LSP[metals] Failed to connect with build server, no functionality will work. See logs for more details.
Looking at the
.metals/metals.log
, I can see a lot of errors where metals is trying to execute java on path/opt/homebrew/opt/openjdk@17/bin/bin/java
. This is nothing like myJAVA_HOME
path, which is set to/opt/homebrew/Cellar/openjdk/21.0.1/libexec/openjdk.jdk/Contents/Home/
.Somehow it built a completely wrong path with a
/bin/bin/java
, which doesn't exist (/bin/java
does).I'm not sure what I'm doing wrong at this point. I didn't have any issues setting this up on Linux, but I can't get it working correctly on macOS.
Beta Was this translation helpful? Give feedback.
All reactions