Splash screen

I noticed that just loading the jruby jar takes a tidge…like 1s.
Maybe jruby could have an optional “display this splash screen image”
command line option?

Cheers!
-roger-

Did you miss ‘-’ between ‘J’ and ‘s’?


Hiro

On Wed, May 23, 2012 at 2:07 PM, Hirotsugu A. [email protected]
wrote:

Did you miss ‘-’ between ‘J’ and ‘s’?

That’s what I was thinking, but I tried it out and it doesn’t work
either.

I see that this is possible, to have a splash screen:

$ java -splash:audio.jpg -jar jruby-complete-1.6.4.jar -e "puts "

however this doesn’t work:

$ jruby -Jsplash:audio.jpg -e ‘puts’
Unrecognized option: splash:audio.jpg
JVM creation failed

is this a bug?
-roger-

Well, if that’s not working, please open a ticket.

Thanks.


Hiro

Just tried

jruby -J-splash:image.png -e "puts "

and it worked fine. We have used this in production for 4 years now.

What environment are you working in? (jruby -v)?
-roger-

Hi Roger!

Just tried

jruby -J-splash:image.png -e "puts "

and it worked fine. We have used this in production for 4 years now.

On 2012-05-23, at 23:10, Eric C. wrote:

I see that this is possible, to have a splash screen:
-roger-

Uwe K.
[email protected]
http://kubosch.no/

appears that it’s a “windows special” and works in other OS’s, windows
only with an extra flag: FAQs · jruby/jruby Wiki · GitHub

On 2012-06-09, at 16:25, Roger P. wrote:

Just tried

jruby -J-splash:image.png -e "puts "

and it worked fine. We have used this in production for 4 years now.

What environment are you working in? (jruby -v)?
-roger-

I am working on OS X and Linux 32/64 bit.


Uwe K.
[email protected]