Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot exec 'java': No such file or directory #67

Open
ElegantFx opened this issue Jan 12, 2021 · 7 comments
Open

Cannot exec 'java': No such file or directory #67

ElegantFx opened this issue Jan 12, 2021 · 7 comments

Comments

@ElegantFx
Copy link

I did everything written in the README, but the server doesn't start and shows this.

app/web.1 Cannot exec 'java': No such file or directory

@jkutner
Copy link
Owner

jkutner commented Jan 12, 2021

Did you deploy from the button, or from the CLI commands?

Sounds like the heroku/jvm buildpack didn't run. Double check your build log to see if it says it did.

@ElegantFx
Copy link
Author

ElegantFx commented Jan 12, 2021 via email

@jkutner
Copy link
Owner

jkutner commented Jan 12, 2021

heroku/java or heroku/jvm?

Are you running this on Heroku?

@ElegantFx
Copy link
Author

ElegantFx commented Jan 12, 2021 via email

@jkutner
Copy link
Owner

jkutner commented Jan 12, 2021

It probably crashed too many times, so you'll need to run heroku ps:scale web=1

@ElegantFx
Copy link
Author

ElegantFx commented Jan 12, 2021

Sorry, I had to delete and rewrite the message

I installed the heroku/jvm buildpack.

Now this happens:

Jan 12 13:21:53 terramoldava app/api Build succeeded
Jan 12 13:22:12 heroku/router at=error code=H14 desc="No web processes running" method=GET path="/" host=xxx fwd=xxx dyno= connect= service= status=503 bytes= protocol=https
Jan 12 13:22:13 terramoldava heroku/router at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=xxx fwd=xxx dyno= connect= service= status=503 bytes= protocol=https

And nothing starts.

@ElegantFx
Copy link
Author

I deleted the app, and created a new one following the tutorial on the README.md step by step, same issue as before

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

No branches or pull requests

2 participants