Heiko,

Switching the flags or running bundle exec jruby hawkfx.rb seems to get me farther, but I see the following with either.   Is there anything special I should do during jruby install?   

lilguylaptop:hawkfx cunningt$ jruby -G -S hawkfx.rb 

/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-fxmlloader-0.4.1-java/lib/fxmlloader/elts.rb:158: warning: `<<' after local variable or literal is interpreted as binary operator

/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-fxmlloader-0.4.1-java/lib/fxmlloader/elts.rb:158: warning: even though it seems like here document

Exception running Application:

#<NameError: uninitialized constant ValueElement::Logging

Did you mean?  Logger>

org/jruby/RubyModule.java:3346:in `const_missing'

/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-fxmlloader-0.4.1-java/lib/fxmlloader/value_elts.rb:149:in `processValue'

/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-fxmlloader-0.4.1-java/lib/fxmlloader/value_elts.rb:67:in `processStartElement'

/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-fxmlloader-0.4.1-java/lib/jrubyfx-fxmlloader.rb:440:in `processStartElement'

/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-fxmlloader-0.4.1-java/lib/jrubyfx-fxmlloader.rb:351:in `load'

/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-1.2.0-java/lib/jrubyfx/controller.rb:129:in `load_into'

/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-1.2.0-java/lib/jrubyfx/core_ext/stage.rb:82:in `fxml'

hawkfx.rb:18:in `block in start'

org/jruby/RubyBasicObject.java:1667:in `instance_eval'

/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-1.2.0-java/lib/jrubyfx/module.rb:49:in `with'

hawkfx.rb:17:in `start'

/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-1.2.0-java/lib/jrubyfx/java_fx_impl.rb:119:in `block in launch_app_after_platform'




On Fri, Dec 23, 2016 at 3:29 AM, Heiko W.Rupp <hrupp@redhat.com> wrote:
On 22 Dec 2016, at 21:52, Thomas Cunningham wrote:

> Hi,
>
> I'm trying to use HawkFX on Mac OS X - I have it working great on Fedora
> but would like to set it up on my Mac OS X box as well.    I've got no
> experience with ruby or jruby so I may be doing something wrong here in
> installation, because I'm seeing the following :
>
> lilguylaptop:hawkfx cunningt$ jruby -S -G hawkfx.rb

Can you try to run -G -S hawkfx.rb (reverse the flags)?

I am running on OS/X myself and it works (with the reversed
flags).

Otherwise "bundle exec jruby hawkfx.rb" should
also work.

Note that Jruby 9.1.6.0 has an issue, but you use
9.1.5.0 which is good.
_______________________________________________
hawkular-dev mailing list
hawkular-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev