Skip to content
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

clojure-lsp won't start on windows 11 aarch64 #2694

Open
milelo opened this issue Jan 5, 2025 · 3 comments
Open

clojure-lsp won't start on windows 11 aarch64 #2694

milelo opened this issue Jan 5, 2025 · 3 comments
Labels

Comments

@milelo
Copy link

milelo commented Jan 5, 2025

Calva clojure-lsp issue: I'm setting up a new PC windows 11 aarch64. I can't get clojure-lsp to start from Calva: all the calva clojure-lsp commands don't have any effect. No log file etc.
~\.vscode\extensions\betterthantomorrow.calva-2.0.482\clojure-lsp-version:
2024.11.08-17.49.29
A working x86 PC with the same version file has:
~\.vscode\extensions\betterthantomorrow.calva-2.0.482\clojure-lsp-windows-amd64.zip
The aam64 PC instead has:
~\.vscode\extensions\betterthantomorrow.calva-2.0.482\clojure-lsp-standalone.jar

I've found a work around:

  • Install clojure-lsp with scoop
  • set vscode "calva.clojureLspPath": "clojure-lsp"
@bpringe bpringe added the lsp label Jan 6, 2025
@bpringe
Copy link
Member

bpringe commented Jan 6, 2025

Clojure-lsp isn't built for Windows aarch64 it seems. CC @ericdallo

However, I think that Calva should be using that standalone jar version in this case (saying this without having looked at that code lately). Do you have Java installed on that system?

@milelo
Copy link
Author

milelo commented Jan 6, 2025

Its running (arm build):

openjdk version "21.0.5" 2024-10-15 LTS
OpenJDK Runtime Environment Temurin-21.0.5+11 (build 21.0.5+11-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.5+11 (build 21.0.5+11-LTS, mixed mode)

The clojure-lsp installed using scoop is an x86 binary running ok in windows emulation mode. If calva was to install clojure-lsp in the same way as on an x86 PC I would expect it to run fine.

@PEZ
Copy link
Collaborator

PEZ commented Jan 6, 2025

I think this will be fixed in clojure-lsp at some point. Your workaround is great. We should figure out how to help people find that. Maybe in some general way. We see that the binary for the platform+arch is missing -> we inform about some page on the docs site that can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants