I upgraded my Java to jdk1.8.0_111.jdk and downgraded rvm to 1.27.0, and ran through the steps that Heiko outlined above (wipe and reinstall jruby), and that fixed everything.
Thanks again for the help.
Hmm... I tried your series of steps, and bundle install seems to be pulling in jrubyfx-1.2 for me :lilguylaptop:hawkfx cunningt$ rvm --version
rvm 1.28.0 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
bundle install output : https://gist.github.com/
cunningt/ a6c018e5e38fff61110a1e1d1a1bf6 ad
However, if I remove jrubyfx-1.2, and install jrubyfx-1.1.1, and bundle install, I'm seeing :
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. 1.1-java/lib/jrubyfx/ controller.rb:123:in `load_into' /Users/cunningt/.rvm/gems/
jruby-9.1.5.0/gems/jrubyfx-1. 1.1-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. 1.1-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. 1.1-java/lib/jrubyfx/java_fx_ impl.rb:119:in `block in launch_app_after_platform'
On Tue, Jan 3, 2017 at 9:44 AM, Heiko W.Rupp <hrupp@redhat.com> wrote:Hey Thomas,
On 3 Jan 2017, at 15:20, Thomas Cunningham wrote:
> lilguylaptop:hawkfx cunningt$ jruby -G -S hawkfx.rb
>
> /Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-fxmlloa Those two are harmless.der-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-fxmlloa der-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>
I haven't seen that before
> /Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-1.2.0- java/lib/jrubyfx/controller. rb:129:in
> `load_into'
I see that you are using JrubyFx 1.2, while I am still on 1.1.1
I did not even know that 1.2 is out.
I did just wipe jruby-9.1.5.0 (rvm remove jruby-9.1.5.0) and then
$ rvm install jruby-9.1.5.0
$ rvm use jruby-9.1.5.0
$ gem install bundler
$ cd hawkfx
$ bundle install
and it pulled in jrubyfx-1.1.1
and it starts like this
snert:hawkfx hrupp$ jruby -G -S hawkfx.rb
/Users/hrupp/.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/hrupp/.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
_______________________________________________
hawkular-dev mailing list
hawkular-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev