在heroku中安装JRE [英] install JRE in heroku

查看:99
本文介绍了在heroku中安装JRE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行 heroku run rake sunspot:solr:run

  rake中止! 
您需要一个Java运行时环境来运行Solr服务器

有没有办法我可以在Heroku中安装jre?

解决方案

您无法在Heroku上安装JRE,因此无法从Heroku工作人员运行Solr。 / p>

如果你想在Heroku中使用Solr,你必须使用 Websolr 插件,或启动一台EC2服务器并从那里运行您自己的Solr副本。


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?

解决方案

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.

这篇关于在heroku中安装JRE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆