Java

Downloading Metals (Vscode Scala extension) failed with the following: spawn "경로" ENOENT 에러

star.candy 2023. 10. 6. 23:22

2년뒤의 내가 또 헤맬게 뻔해서 적어두는 메모

 

2년만에 scala를 써야 할 일이 있어서 이것저것 건드리다보니 분명 2주전까지는 잘만 찾아가던 경로가 꼬였다

아마 정석대로 해결하려면

https://stackoverflow.com/questions/70609825/downloading-metals-vscode-scala-extension-failed-with-the-following-spawn-c

 

Downloading Metals (Vscode Scala extension) failed with the following: spawn C:\Program Files (x86)\Java\jdk1.8.0_144\bin\bin\ja

I'm trying to run a Scala program on the vscode. I tried downloading Scala (Metals) Extension but it gives me the following error. Failed to download Metals, make sure you have an internet connecti...

stackoverflow.com

이 솔루션을 따라해야 할 것인데...

도저히 java 11 설치 경로를 다 확인하고 setting에 들어가서 metal의 java home jdk 경로를 다시 넣어줘도 도저히 정신을 못차리길래..

그냥 reset 했다

그리고 다시 창 reload하니까 내가 설치해뒀던 java home으로 경로를 알아서 잘 찾는다...(왜 내가 직접 입력했을 때는 오류내고..)

뭐지..