JRuby in a Gui with Swing

Hello,
I want to create a JRuby-File under Netbeans and put some Swing Code for
a GUI. But I don’t know how if it’s possible to compile a Jar file.
Do you think, that this is the easiest way to do it?

so you want to compile your ruby code to java and run that?

Roger P. wrote in post #1018081:

so you want to compile your ruby code to java and run that?

Exactly! Do you know how?

rawr might help

On Tue, Aug 23, 2011 at 1:35 PM, Yu Yu [email protected] wrote:

Roger P. wrote in post #1018081:

so you want to compile your ruby code to java and run that?

Exactly! Do you know how?

It is possible (though a bit experimental) to compile Ruby classes
into a “normalish” Java class, using the jrubyc command and
instructions provided here:

Does that get you moving in the right direction?

  • Charlie