Forum: JRuby splash screen

Posted by Roger Pack (rogerdpack)
on 2011-06-04 19:08
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-
Posted by Roger Pack (rogerdpack)
on 2012-05-23 17:46
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-
Posted by Hirotsugu Asari (Guest)
on 2012-05-23 21:09
(Received via mailing list)
Did you miss '-' between 'J' and 's'?

--
Hiro
Posted by Eric Christopherson (echristopherson)
on 2012-05-23 23:11
(Received via mailing list)
On Wed, May 23, 2012 at 2:07 PM, Hirotsugu Asari <asari.ruby@gmail.com> 
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.
Posted by Hirotsugu Asari (Guest)
on 2012-05-24 00:43
(Received via mailing list)
Well, if that's not working, please open a ticket.

Thanks.

--
Hiro
Posted by Uwe Kubosch (donv)
on 2012-05-24 10:39
(Received via mailing list)
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 Christopherson wrote:

>>> I see that this is possible, to have a splash screen:
>>> -roger-
--
Uwe Kubosch
uwe@kubosch.no
http://kubosch.no/
Posted by Roger Pack (rogerdpack)
on 2012-06-09 16:25
> 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-
Posted by Uwe Kubosch (donv)
on 2012-06-23 01:12
(Received via mailing list)
On 2012-06-09, at 16:25, Roger Pack 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 Kubosch
uwe@kubosch.no
http://kubosch.no/
Posted by Roger Pack (rogerdpack)
on 2013-03-07 23:28
appears that it's a "windows special" and works in other OS's, windows 
only with an extra flag: https://github.com/jruby/jruby/wiki/FAQs
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.