a year 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 NIXPACKSJDKVERSION 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
a year 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
a year ago
you want to use a Dockerfile that uses java 11
a year ago
are you?
yes .
a year 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
a year ago
what is the command to run the migration
a year ago
just run that command as part of the start command then
a year ago
!s
Status changed to Solved brody • about 1 year ago