# 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:** 14

<div class="post-metadata">

### Author: ![headius](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/headius/32/120277_2.png) [@headius](https://meta.discourse.org/u/headius)
#### Post date: [February 26, 2018, 5:06pm UTC](https://meta.discourse.org/t/getting-discourse-running-on-jruby/81273/14 "2018-02-26T17:06:24Z")

</div>

I started porting Rinku and quickly realized that 99% of it is just raw C code working with character arrays.

So I started poking around for a Java autolinking library, and I found this: [autolink 0.8.0 javadoc (org.nibor.autolink)](http://javadoc.io/doc/org.nibor.autolink/autolink/0.8.0)

Even better, it accepts CharSequence, which means we should just be able to pass it a Ruby string (or one of our representations of it) and it will function mostly without pre-transcoding everything into Java characters.

I’ll see if I can get some basic API equivalent wrapper around it.

---

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