# JRuby's Ruby interpreter only

**URL:** <https://www.ruby-forum.com/t/jrubys-ruby-interpreter-only/66806>\
**Category:** Ruby\
**Created:** [August 29, 2006, 1:57pm UTC](https://www.ruby-forum.com/t/jrubys-ruby-interpreter-only/66806 "2006-08-29T13:57:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![roey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@roey](https://www.ruby-forum.com/u/roey)\
**Post date:** [August 29, 2006, 1:57pm UTC](https://www.ruby-forum.com/t/jrubys-ruby-interpreter-only/66806/1 "2006-08-29T13:57:20Z")

</div>

Hi,  
I am interested in JRuby’s Ruby interpreter only, without all the Java  
binding support.  
Is it possible to download it (sources or binary) from somewhere?  
Is there a way to do it quickly on my own?

Thanks!

---

<div class="post-metadata">

**Author:** ![roey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@roey](https://www.ruby-forum.com/u/roey)\
**Post date:** [August 30, 2006, 1:33am UTC](https://www.ruby-forum.com/t/jrubys-ruby-interpreter-only/66806/2 "2006-08-30T01:33:36Z")

</div>

Roy Ben hayun wrote:

> Hi,  
> I am interested in JRuby’s Ruby interpreter only, without all the Java  
> binding support.  
> Is it possible to download it (sources or binary) from somewhere?  
> Is there a way to do it quickly on my own?
> 
> Thanks!

There’s not really any way to use JRuby without Java support, because  
JRuby itself is written in Java. There are also a few core libraries  
implemented using Java support. A JRuby without Java binding support  
would be a bit like C Ruby without extension or Kernel#syscall support.

You could, however, take a JRuby distribution and trim out everything  
you don’t need. There’s probably a lot you could remove and still have a  
functioning interpreter. I’m not sure at what point you’d break  
something you need, however.

---

<div class="post-metadata">

**Author:** ![roey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@roey](https://www.ruby-forum.com/u/roey)\
**Post date:** [August 31, 2006, 11:01am UTC](https://www.ruby-forum.com/t/jrubys-ruby-interpreter-only/66806/3 "2006-08-31T11:01:19Z")

</div>

On 8/31/06, Roy Ben hayun [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I found a few sentences that didnt mean anything to me.
> 
> Any idea, instructions, link etc would be very much appreciated.

Try downloading source of the one-click installer [1], follow the docs.

[1] [rubyforge.org/projects/rubyinstaller](http://rubyforge.org/projects/rubyinstaller)

---

<div class="post-metadata">

**Author:** ![roey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@roey](https://www.ruby-forum.com/u/roey)\
**Post date:** [August 31, 2006, 12:14pm UTC](https://www.ruby-forum.com/t/jrubys-ruby-interpreter-only/66806/4 "2006-08-31T12:14:21Z")

</div>

Hi Jan,  
I already installed Ruby on my PC and happily played with it.  
However, I would like to build the interpreter myself and that is what I  
could find how to do.  
Any ideas?

---

<div class="post-metadata">

**Author:** ![roey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@roey](https://www.ruby-forum.com/u/roey)\
**Post date:** [August 31, 2006, 10:52am UTC](https://www.ruby-forum.com/t/jrubys-ruby-interpreter-only/66806/5 "2006-08-31T10:52:35Z")

</div>

Hi Charles,  
Trimming out things looked like a long process so in that case, I wanted  
to manually build the C interpreter on my own but could not succeed in  
that.  
(I tried with MSVC but quite naively, to be honest)  
I probably should start from building the whole thing and that is ok as  
I need to start with something.

In  
[http://www.ruby-doc.org/docs/ruby-doc-bundle/ProgrammingRuby/index.html](http://www.ruby-doc.org/docs/ruby-doc-bundle/ProgrammingRuby/index.html)  
I found a few sentences that didnt mean anything to me.

Any idea, instructions, link etc would be very much appreciated.

---

<div class="post-metadata">

**Author:** ![roey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@roey](https://www.ruby-forum.com/u/roey)\
**Post date:** [August 31, 2006, 12:16pm UTC](https://www.ruby-forum.com/t/jrubys-ruby-interpreter-only/66806/6 "2006-08-31T12:16:15Z")

</div>

I posted a new question: “Building Ruby 1.8.4 interpreter for Windows”  
at  
[http://www.ruby-forum.com/topic/79391#new](http://www.ruby-forum.com/topic/79391#new)

---

<div class="post-metadata">

**Author:** ![roey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@roey](https://www.ruby-forum.com/u/roey)\
**Post date:** [August 31, 2006, 2:07pm UTC](https://www.ruby-forum.com/t/jrubys-ruby-interpreter-only/66806/7 "2006-08-31T14:07:44Z")

</div>

On 8/31/06, Roy Ben hayun [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I posted a new question: “Building Ruby 1.8.4 interpreter for Windows”  
> at  
> [Building Ruby 1.8.4 interpreter for Windows - Ruby - Ruby-Forum](http://www.ruby-forum.com/topic/79391#new)

For which most people would recommend against at this point because of  
the unstable and incompatible nature of various compilers around the  
'net.

-austin

---

<div class="post-metadata">

**Author:** ![roey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e480ec/32.png) [@roey](https://www.ruby-forum.com/u/roey)\
**Post date:** [August 31, 2006, 9:02pm UTC](https://www.ruby-forum.com/t/jrubys-ruby-interpreter-only/66806/8 "2006-08-31T21:02:54Z")

</div>

On 8/31/06, Roy Ben hayun [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi Jan,  
> I already installed Ruby on my PC and happily played with it.  
> However, I would like to build the interpreter myself and that is what I  
> could find how to do.  
> Any ideas?

If you want to build it yourself, just make sure you are using MSVC  
6.0, SP5 and follow the readme instructions in the “win32”  
subdirectory of the ruby source distribution, and it should go pretty  
smoothly.

Curt
