install JRE in heroku

故事扮演 提交于 2019-12-24 20:40:30

问题


I got this error in running heroku run rake sunspot:solr:run

rake aborted!
You need a Java Runtime Environment to run the Solr server

is there a way i can install jre in heroku?


回答1:


You cannot install the JRE on Heroku, and thus you cannot run Solr from a Heroku worker.

If you want Solr in Heroku, you'll have to use the Websolr addon, or start an EC2 server and run your own copy of Solr from there.



来源:https://stackoverflow.com/questions/10741219/install-jre-in-heroku

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!