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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.