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

Make it easy to change JDK version for languages.clojure #1341

Closed
socksy opened this issue Jul 24, 2024 · 1 comment · Fixed by #1343
Closed

Make it easy to change JDK version for languages.clojure #1341

socksy opened this issue Jul 24, 2024 · 1 comment · Fixed by #1343
Labels
enhancement New feature or request

Comments

@socksy
Copy link

socksy commented Jul 24, 2024

For languages.java and languages.scala it seems to be quite simple to change the JDK version.

However, there's no way to do that for Clojure, and using languages.java.jdk.package does not appear to affect the jdk version used in Clojure:

$ java -version
openjdk version "22" 2024-03-19
OpenJDK Runtime Environment (build 22+36-nixos)
OpenJDK 64-Bit Server VM (build 22+36-nixos, mixed mode, sharing)
$ clojure --version
Clojure CLI version 1.11.3.1463
$ clj
Clojure 1.11.1
user=> (System/getProperty "java.version")
"21"
@socksy socksy added the enhancement New feature or request label Jul 24, 2024
@domenkozar
Copy link
Member

cc @k3yss

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

Successfully merging a pull request may close this issue.

2 participants