Giri
Giri

Reputation: 21

How jar files are executed in Ruby MRI implemetation

The Concurrent ruby gem, is supported for MRI implementation of ruby, this gem uses some JAR files, this mean Ruby(MRI) can able to execute jar files right?

is it mean Ruby(MRI) has a JVM?

P.S: I am very new to the programming world, so kindly correct me if my understandings are wrong.

Upvotes: 0

Views: 61

Answers (1)

Jörg W Mittag
Jörg W Mittag

Reputation: 369584

The concurrent Ruby gem contains several native extensions for popular Ruby implementations. In particular, it contains one extension (written in C) for YARV and another extension (written in Java) for JRuby.

The JRuby extension is only used on JRuby, not on YARV, so YARV never needs to execute it.

Upvotes: 1

Related Questions