Reputation: 1616
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
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