alexloh
alexloh

Reputation: 1616

How do you use Ruby in Java?

With JRuby, you can make use of Java libraries in Ruby. Is there the reverse for using Ruby libraries in Java?

Specifically I want to write an Eclipse plugin and I need to use a bunch of legacy functions in this library written in Ruby.

Upvotes: 5

Views: 1887

Answers (1)

Carlos Quintanilla
Carlos Quintanilla

Reputation: 13343

You might be looking for generating Java .class or .jar files from JRuby/Ruby

You can find the topic on the JRuby wiki: https://github.com/jruby/jruby/wiki/StandaloneJarsAndClasses

Doing that I believe you can do what you need.

Upvotes: 2

Related Questions