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

Clarify support for jdk23 on darwin/aarch64 #377908

Open
galderz opened this issue Jan 30, 2025 · 2 comments
Open

Clarify support for jdk23 on darwin/aarch64 #377908

galderz opened this issue Jan 30, 2025 · 2 comments

Comments

@galderz
Copy link

galderz commented Jan 30, 2025

I'm on darwin/aarch64 and I've somehow managed to install jdk23 package, yet this platform does not appear listed in jdk23.

Can someone clarify the status of jdks for darwin/aarch64?

@galderz
Copy link
Author

galderz commented Jan 30, 2025

[nix-shell:~/1/openjdk-nix]$ nix-shell
these 2 paths will be fetched (173.06 MiB download, 344.96 MiB unpacked):
  /nix/store/7r46mfp7s5ciihd3zxdm6bk47k2xvg0x-set-java-classpath-hook
  /nix/store/mxhnrz7wk1a1z4d3b7l2a7jpd1q6wf3d-zulu-ca-jdk-23.0.0
copying path '/nix/store/7r46mfp7s5ciihd3zxdm6bk47k2xvg0x-set-java-classpath-hook' from 'https://cache.nixos.org'...
copying path '/nix/store/mxhnrz7wk1a1z4d3b7l2a7jpd1q6wf3d-zulu-ca-jdk-23.0.0' from 'https://cache.nixos.org'...

[nix-shell:~/1/openjdk-nix]$ which java
/nix/store/mxhnrz7wk1a1z4d3b7l2a7jpd1q6wf3d-zulu-ca-jdk-23.0.0/bin/java

[nix-shell:~/1/openjdk-nix]$ java --version
openjdk 23 2024-09-17
OpenJDK Runtime Environment Zulu23.28+85-CA (build 23+37)
OpenJDK 64-Bit Server VM Zulu23.28+85-CA (build 23+37, mixed mode, sharing)

@galderz
Copy link
Author

galderz commented Jan 30, 2025

But somehow depending on jdk23 brings that in:

{ pkgs ? import <nixpkgs> {} }:

pkgs.mkShellNoCC {
  packages = [
    pkgs.autoconf
    pkgs.jdk23
  ];
}

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

No branches or pull requests

1 participant