# Getting Discourse running on JRuby

**URL:** <https://meta.discourse.org/t/getting-discourse-running-on-jruby/81273>\
**Category:** Development\
**Created:** [February 23, 2018, 12:14am UTC](https://meta.discourse.org/t/getting-discourse-running-on-jruby/81273 "2018-02-23T00:14:59Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![kares](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kares/32/120283_2.png) [@kares](https://meta.discourse.org/u/kares)\
**Post date:** [February 26, 2018, 7:50am UTC](https://meta.discourse.org/t/getting-discourse-running-on-jruby/81273/9 "2018-02-26T07:50:49Z")

</div>

> [@sam](#):
>
> Regarding Rhino, you got to make sure the ruby rhino with latest GitHub - mozilla/rhino: Rhino is an open-source implementation of JavaScript written entirely in Java It looks pretty silent there Commits · cowboyd/therubyrhino · GitHub . Ideally I would prefer v8, but at a minimum we would want latest Rhino.

_therubyrhino_ should just work, if not there’s a pretty solid attempt to use the engine provided with Java 8,  
which is kind of a (direct) successor of Rhino, `gem 'dienashorner', platform: :jruby` … really depends what the JS engine is used for - if mostly for compiling with the asset pipeline than both are expected to work fine.

have also looked into _xorcist_, managed to run into one issue - not failing properly on frozen strings, but its pretty edge case that is easy to work-around + PR submitted.

---

_[View the full topic](https://meta.discourse.org/t/getting-discourse-running-on-jruby/81273)._
