java release version jdk 21 not supported
bruce-migTRIAL
a year ago
i have a Spring Boot app that is using jdk 21. it works fine locally. but on Railway my build fails with error Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project content-calendar: Fatal error compiling: error: release version 21 not supported -> [Help 1]
. I would like to know which java versions are supported on Railway.
To reproduce, try building a project with jdk 21 on railway.
ⓘ Deployment information is only viewable by Project members and Railway admins.
3 Replies
a year ago
Please see the nixpacks docs here -
hypad590TRIAL
9 months ago
how will this nixpacks help?