Skip to content

Railway Deployment #506047 fix: add jdk21 to nixpacks setup - #2

Merged
railway-app[bot] merged 1 commit into
mainfrom
railway/fix-deploy-506047
Jul 11, 2026
Merged

Railway Deployment #506047 fix: add jdk21 to nixpacks setup#2
railway-app[bot] merged 1 commit into
mainfrom
railway/fix-deploy-506047

Conversation

@railway-app

@railway-app railway-app Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Problem

Maven build failed with "release version 21 not supported" because the Nixpacks build environment provisioned JDK 19 despite pom.xml requiring Java 21. The NIXPACKS_JDK_VERSION = "21" variable did not actually cause JDK 21 to be installed.

Solution

Explicitly added "jdk21" to nixPkgs in nixpacks.toml so JDK 21 is installed and placed on the build PATH, and removed the ineffective NIXPACKS_JDK_VERSION variable.

Changes

  • Modified nixpacks.toml

Context

  • Deployment: #506047
  • Failed commit: 85e81bb

Generated by Railway

@railway-app
railway-app Bot merged commit 0dbee2a into main Jul 11, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

0 participants