-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble installing through VScode on macOS #2869
Comments
Quick update on this: it's happier if I install version 1.8 of the JDK (which is, to be fair, what the error message suggests). But it then gets stuck trying to find the right version of |
I had somewhat similar problems which are logged somewhere, I think on the IDE git.
|
Can you try choosing v3.9 from extension setting and let it install it for you ? extension should have done that out of the box but there seems an error in the installation process. I am asking you to install v3.9 because there are some changes for installation dependencies which may help. |
Also, just released v2.8.4 for VSCode extension which will install Dafny v3.9.0 by default. |
so I tried clearing paths to daftly, reinstalling 284, same problem as I had earlier #dafny-lang/ide-vscode/283 the presenting problems may be different but the underlying issue here is not getting arm64 (for either Java or dafny proper) on M* macs... |
Thank you very much @kjx and @prvshah51 for your help. (Sorry for the slow reply; I've been on leave.) I've now got it working, probably thanks to the updates that have been done by the Dafny team in the meantime. What worked for me was something roughly like this:
(I ran various other commands like |
Hi, when I open a
.dfy
file in VS Code, I get the following error as it tries to install Dafny...The thing is, if I open the Terminal tab in VS Code, and execute
javac -version
manually, I getSo I'm not sure why it's complaining about not being able to find a JDK. Any thoughts? Thanks very much.
By the way, I'm running macOS 12.6 (Monterey) on an Apple M1 Pro.
The text was updated successfully, but these errors were encountered: