jkutner / heroku-buildpack-minecraft

A buildpack for running a Minecraft Server on Heroku
MIT License
204 stars 289 forks source link

Java on Heroku Dynos? #9

Closed caseywatts closed 7 years ago

caseywatts commented 7 years ago

How does this buildpack end up getting java to be available on the dyno?

I get this error after setting up and deploying:

2017-06-02T22:08:53.455874+00:00 app[web.1]: bin/minecraft: line 44: java: command not found

Notes:

caseywatts commented 7 years ago

I'm not sure I'd call this project dead - It's been updated to the most recent Minecraft version even :)

Although maybe I should ping @jkutner on this?

jkutner commented 7 years ago

Project is definitely not dead. But the latest version of the Heroku stack no longer has the JVM installed by default. Someone needs to add this bit:

https://github.com/heroku/heroku-buildpack-jvm-common#usage-from-a-buildpack

Glad to accept a PR for it.

jkutner commented 7 years ago

Or could add the jvm-common buildpack to app.json

jkutner commented 7 years ago

Fixed by db2adc063ece198bd9ec94c626fb505a0801295c

caseywatts commented 7 years ago

you're the best @jkutner 🎉 can't wait to try it :)