logo       

Re: [jruby-user] Newbie questions: JRuby desktop application: msg#00228

lang.jruby.user

Subject: Re: [jruby-user] Newbie questions: JRuby desktop application

There are two groups at my company right now that are working on applications like you've described. One is definitely what you'd call a desktop application; the other is not meant to be run by a user, but it is distributed and run in the same way.

I'm going to answer your first and third questions together. When we're developing our application, we have our code laid out like any other Ruby application; a bunch of Ruby files in lib, test, bin, etc. When we are running our tests, we use the jruby executable that is distributed with the jruby-bin file.

Then, when we go to publish a build, our build script uses JarJar to roll our Ruby files and the jruby-complete jar into a single jar. This jar can then be run by the user just as they would any other jar (java -jar, double clicking in Windows, or whatever).

In terms of JVMs, you'll need 1.5 or newer to run the latest.

I don't know about any sample programs you could download and our applications aren't something we can share with you either.

On 11/30/07, Jari Williamsson <jari.williamsson@xxxxxxxxxxxxxxxxxx> wrote:
I've scanned through the JRuby FAQ's and Wikis, but I can't find an
answer to this:
I don't come from the Java world, but rather from the Ruby and C++ world.
How does JRuby work (from an end-user perspective) if I want to create a
JRuby desktop application?
Which requirements have to be met on the end-user side (I guess a JVM,
but what version, anything more)?
Can I distribute the same binary regardless of platform (I guess it
results in a .JAR and this is a Yes)?

Is there any sample available of a downloadable JRuby desktop
application, so I can take a peek how it works?


Best regards,

Jari Williamsson

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise