Procfile failed for java

Hi, trying to import a heroku app into railway but I got an error when it runs the procfile. Contents below: web: java -Dserver.port=$PORT -jar ./build/libs/pidir-0.1.jar The error seems to indicate that java isn't on the class path, is this procfile approach not supported? Let me know if you'd like the see the logs Thanks!
3 Replies
nebula
nebula2y ago
could you send the error?
meadowhawk
meadowhawk2y ago
sure ======================== Container Start Failure! ======================== rpc error: code = Unknown desc = Failed to start container: "java" executable file not found in $PATH unknown
milo
milo2y ago
https://github.com/railwayapp/nixpacks @meadowhawk please make a bug report
GitHub
GitHub - railwayapp/nixpacks: App source + Nix packages + Docker = ...
App source + Nix packages + Docker = Image. Contribute to railwayapp/nixpacks development by creating an account on GitHub.