java-openjdk
| Version | 2026.167.2100 |
| Repo | superproject |
OpenJDK 21 runtime + JDK tools with a distro-agnostic JAVA_HOME canonical symlink OpenJDK 21 headless runtime + JDK tools. Cross-distro: Fedora ships java-21-openjdk(-headless/-devel); Arch ships jdk21-openjdk; Debian/ Ubuntu ship openjdk-21-jdk-headless. A build task symlinks the distro-agnostic JAVA_HOME (/usr/lib/jvm/charly-jdk21) onto whichever JDK 21 root the package installed, so consumers (Android SDK, Appium, Gradle, sbt) discover java + javac without hardcoding a distro path. Every claim below is observable: the binaries, the canonical symlink target, and the reported runtime version.
Acceptance plan
Section titled “Acceptance plan”This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.
| Intent | Step |
|---|---|
run |
establish the distro-agnostic JAVA_HOME and set the system-default java launcher |
check |
the JRE launcher is installed at /usr/bin/java |
check |
the compiler is installed at /usr/bin/javac |
check |
the distro-agnostic JAVA_HOME exposes a working java launcher |
check |
the distro-agnostic JAVA_HOME exposes a working javac compiler |
check |
the runtime identifies itself as OpenJDK version 21 |
check |
command=/usr/bin/java -version |
check |
package=openjdk-21-jdk-headless |