NixOS JVM | 121 Members | |
| 27 Servers |
| Sender | Message | Time |
|---|---|---|
| 19 Sep 2025 | ||
I made a repo with my hacked-together, proof-of-concept, incomplete nix-jdk-dashboard utility. It's basically a combination of Nix, BASH, and jq but it might be useful to someone. And if any of the Nix experts in here have any suggestions for improvement, I'd love to hear them. | 18:09:00 | |
| Two major missing pieces are:
| 18:10:19 | |
| But the following command:
| 18:10:45 | |
| Produces the following output:
| 18:11:21 | |
But I can manually compare to the versions in zulu or temurin in sdkman to see where we are behind. | 18:13:27 | |
* But I can manually compare to the versions in zulu or temurin in sdkman to see where we are behind. | 18:13:38 | |
| * Produces the following output (for
| 18:14:55 | |
| * Produces the following output (for
| 18:16:16 | |
| * Produces the following output (for
| 18:17:36 | |
| So that suggests that we are behind: 11.0.27 -> 11.0.28 | 18:19:49 | |
| On
| 18:20:30 | |
| So that suggests we are behind:
| 18:23:42 | |
| * So that suggests we are behind: But Darwin is using | 18:24:36 | |
| * So that suggests we are behind: But Darwin is using | 19:39:21 | |
| Starting work on removing consumers of Gradle7 by patching | 20:26:26 | |
| If we want to remove Gradle7, we will need to either patch most of the Correttos or drop all except I think latest? | 21:51:14 | |
| Who is maintaining Corretto and is it known why they want it in Nixpkgs? | 21:55:24 | |
| There was a thread about it a few months ago. The reason iirc was because upstream uses that and enforced it through Grade | 22:37:36 | |
| https://github.com/NixOS/nixpkgs/issues/313208#issuecomment-2467473454 | 22:38:59 | |
At the worst case you think they could patch that somehow. When I use Gradle toolchains to set a JvmVendor (usually Temurin) I allow overrides by putting the setting in gradle.properties which can easily be overridden with a -P on the Gradle command line. | 23:05:28 | |
| My list (and reasons) is this: openjdk -- the upstream Open Source, reference build for JDK temurin-bin -- popular Open Source pre-built distribution which Nixpkgs uses to bootstrap OpenJDK zulu -- popular Open Source pre-built distribution with JavaFX. On Darwin, Nixpkgs aliases jdk to zulu graalvm-ce -- Open Source "community edition" of GraalVM that provides the native-image compiler graalvm-oracle -- non-free GraalVM, but provides binaries during Early Access | 23:07:36 | |
| * My list (and reasons) is this:
| 23:07:58 | |
| Obviously the list could be shortened if we get openjdk building for Darwin or figure out a different way of bootstrapping openjdk, or get graalvm-ce building from source, etc. | 23:18:34 | |
| * My list of "priority" JDKs (and reasons) is this:
| 23:20:30 | |
| We could use Zulu to bootstrap OpenJDK for everything, maybe? | 23:58:22 | |
| 20 Sep 2025 | ||
| I'd prefer Temurin over Zulu | 00:09:24 | |
| since Temurin is vanilla like the OpenJDK we build | 00:09:33 | |
| I’d prefer building OpenJDK with the previous OpenJDK like Guix does, but I assume there’s a reason for not doing it that way. | 02:38:08 | |
| turtle stack has to stop somewhere. IIRC they eventually detour via Jikes or something else that eventually bootstraps via C, but last I heard they hadn't wired up the full path yet? | 02:38:52 | |
| and it requires lots of old versions of compilers, forked patch GNU Classpath hacks, etc. | 02:39:00 | |