<div dir="ltr">Heiko,<div><br></div><div>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?   </div><div>







<p class="gmail-p1"><span class="gmail-s1">lilguylaptop:hawkfx cunningt$ jruby -G -S hawkfx.rb </span></p>
<p class="gmail-p1"><span class="gmail-s1">/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-fxmlloader-0.4.1-java/lib/fxmlloader/elts.rb:158: warning: `&lt;&lt;&#39; after local variable or literal is interpreted as binary operator</span></p>
<p class="gmail-p1"><span class="gmail-s1">/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</span></p>
<p class="gmail-p1"><span class="gmail-s1">Exception running Application:</span></p>
<p class="gmail-p1"><span class="gmail-s1">#&lt;NameError: uninitialized constant ValueElement::Logging</span></p>
<p class="gmail-p1"><span class="gmail-s1">Did you mean?  Logger&gt;</span></p>
<p class="gmail-p1"><span class="gmail-s1">org/jruby/RubyModule.java:3346:in `const_missing&#39;</span></p>
<p class="gmail-p1"><span class="gmail-s1">/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-fxmlloader-0.4.1-java/lib/fxmlloader/value_elts.rb:149:in `processValue&#39;</span></p>
<p class="gmail-p1"><span class="gmail-s1">/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-fxmlloader-0.4.1-java/lib/fxmlloader/value_elts.rb:67:in `processStartElement&#39;</span></p>
<p class="gmail-p1"><span class="gmail-s1">/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-fxmlloader-0.4.1-java/lib/jrubyfx-fxmlloader.rb:440:in `processStartElement&#39;</span></p>
<p class="gmail-p1"><span class="gmail-s1">/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-fxmlloader-0.4.1-java/lib/jrubyfx-fxmlloader.rb:351:in `load&#39;</span></p>
<p class="gmail-p1"><span class="gmail-s1">/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-1.2.0-java/lib/jrubyfx/controller.rb:129:in `load_into&#39;</span></p>
<p class="gmail-p1"><span class="gmail-s1">/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-1.2.0-java/lib/jrubyfx/core_ext/stage.rb:82:in `fxml&#39;</span></p>
<p class="gmail-p1"><span class="gmail-s1">hawkfx.rb:18:in `block in start&#39;</span></p>
<p class="gmail-p1"><span class="gmail-s1">org/jruby/RubyBasicObject.java:1667:in `instance_eval&#39;</span></p>
<p class="gmail-p1"><span class="gmail-s1">/Users/cunningt/.rvm/gems/jruby-9.1.5.0/gems/jrubyfx-1.2.0-java/lib/jrubyfx/module.rb:49:in `with&#39;</span></p>
<p class="gmail-p1"><span class="gmail-s1">hawkfx.rb:17:in `start&#39;</span></p>
<p class="gmail-p1"><span class="gmail-s1">/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&#39;</span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 23, 2016 at 3:29 AM, Heiko W.Rupp <span dir="ltr">&lt;<a href="mailto:hrupp@redhat.com" target="_blank">hrupp@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 22 Dec 2016, at 21:52, Thomas Cunningham wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m trying to use HawkFX on Mac OS X - I have it working great on Fedora<br>
&gt; but would like to set it up on my Mac OS X box as well.    I&#39;ve got no<br>
&gt; experience with ruby or jruby so I may be doing something wrong here in<br>
&gt; installation, because I&#39;m seeing the following :<br>
&gt;<br>
&gt; lilguylaptop:hawkfx cunningt$ jruby -S -G hawkfx.rb<br>
<br>
</span>Can you try to run -G -S hawkfx.rb (reverse the flags)?<br>
<br>
I am running on OS/X myself and it works (with the reversed<br>
flags).<br>
<br>
Otherwise &quot;bundle exec jruby hawkfx.rb&quot; should<br>
also work.<br>
<br>
Note that Jruby 9.1.6.0 has an issue, but you use<br>
9.1.5.0 which is good.<br>
______________________________<wbr>_________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/hawkular-dev</a><br>
</blockquote></div><br></div>