!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

121 Members
27 Servers

Load older messages


SenderMessageTime
20 Sep 2025
@emilazy:matrix.orgemily I forgot that they actually go through like (multiple versions of) three unmaintained JDKs 02:41:45
@emilazy:matrix.orgemily * I forgot that they actually go through like (multiple versions of) three unmaintained Java implementations 02:41:50
@msgilligan:matrix.orgmsgilliganI looked at it once — it’s pretty crazy02:42:45
@emilazy:matrix.orgemily

looks like even if you do all of this Gradle scuppers it:

Gradle is a build tool in the Java ecosystem. It needs Gradle to build. It also depends on Groovy, Scala and Kotlin. Groovy is already bootstrapped, but Scala is currently not bootstrappable and we do not know of a way to build Kotlin either, to see the status of work in progress on the issue see Bootstrapping JVM Languages.

https://bootstrappable.org/projects/java-tools.html

02:43:14
@msgilligan:matrix.orgmsgilliganI would love to see Nix do it, too. But I agree it’s not realistic at the present time with our current tools and team.02:44:31
@emilazy:matrix.orgemily we do not even have the core stdenv bootstrapping without binary seeds yet 02:44:38
@emilazy:matrix.orgemilythere is a partial implementation in Nixpkgs02:44:43
@emilazy:matrix.orgemilybut it needs additional work and wiring up to replace our current bootstrap tools02:44:48
@emilazy:matrix.orgemilylikely not worth putting large effort into source-based bootstraps before that is done02:44:58
@msgilligan:matrix.orgmsgilligan Yeah, Gradle (aka franken-gradle) is a bootstrapping nightmare 02:45:16
@msgilligan:matrix.orgmsgilliganI’ve been following the efforts of the Debian team on getting newer than the (heavily-modified, “franken-gradle”) 4.4 that they are currently shipping.02:47:29
@msgilligan:matrix.orgmsgilliganI’ll probably move some of my main projects to Maven just for this reason. I’ve proposed it for bitcoinj, because making it build with Gradle 4.4 is very time-consuming. But the lead developer wants to be able to bundle in Debian02:49:37
@emilazy:matrix.orgemilyDebian and language ecosystems is a painful combination :)02:51:01
@msgilligan:matrix.orgmsgilliganPart of the reason Debian Gradle is blocked at 4.4 is that is when they added Kotlin02:51:24
@msgilligan:matrix.orgmsgilliganI’m a noob with big ambitions!02:52:18
@msgilligan:matrix.orgmsgilliganAnd I know that bootstrapping is out of reach for JDK in Nix for now, but someday I hope we can do it.02:54:10
@msgilligan:matrix.orgmsgilliganI need to take a second look at Guix, but I don’t even have time for that right now.02:54:53
@msgilligan:matrix.orgmsgilliganWould it be possible to use OpenJDK 25 to build OpenJDK 26 (at least initially) ?03:04:58
@msgilligan:matrix.orgmsgilligan(after we bootstrap 25 with Temurin)03:05:33
@emilazy:matrix.orgemilyyes, but very low value03:08:56
@emilazy:matrix.orgemilyit mostly just means it will take longer, since it is still rooting to a binary Temurin03:09:06
@msgilligan:matrix.orgmsgilliganI need one of those Ampere systems03:10:57
@msgilligan:matrix.orgmsgilliganAnd to upgrade my laptop to an M4 Pro03:11:33
@emilazy:matrix.orgemily well I say "yes" but it depends on whether you can actually bootstrap JDK n+1 with JDK n 03:13:08
@emilazy:matrix.orgemilyI assume you can because it would be nuts otherwise03:13:15
@emilazy:matrix.orgemilybut people do commit such crimes03:13:19
@emilazy:matrix.orgemily (ideally you could hop from one LTS to the next but I'm guessing you cannot) 03:13:29
@msgilligan:matrix.orgmsgilliganI will eventually look into it03:14:17
@emilazy:matrix.orgemilyI would worry more about the C → any OpenJDK part before trying to do the rest03:14:54
@tomodachi94:matrix.orgTomodachi94 (they/them)Here's how Guix does it: https://bootstrappable.org/projects/java.html03:40:42

Show newer messages


Back to Room ListRoom Version: 6