2 years ago
Recently added changes to my dropwizard service , the build fails and i noticed that railway is trying to use jdk 19.0.2 whereas i need 11.0.25. I tried adding NIXPACKS_JDK_VERSION variable , also with nixpacks.toml file but same result :
#10 21.75 An exception has occurred in the compiler (19.0.2). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program, the following diagnostic, and the parameters passed to the Java compiler in your report. Thank you.
17 Replies
2 years ago
you'd likely want to use a Dockerfile to get specific versions
it looks strange bcs i have 2 other env with the same service and they build fine
2 years ago
you want to use a Dockerfile that uses java 11
2 years ago
are you?
yes .
2 years ago
and it's still complaining about not using java 11
Unrelated question.
Is there a way to run db migration in railway ? . Flyway for ex
2 years ago
what is the command to run the migration
2 years ago
just run that command as part of the start command then
2 years ago
!s
Status changed to Solved brody • over 1 year ago