I’m a relative noobie ruby dev and I was poking around with rawr. I
wrote a simple .rb file and then used rawr to package it into a jar but
have run into some errors.
I have brought it down to bare bones to understand how this all works
so I have one ruby file called rubytest.rb.
which produces a package/jar/Test.jar for me. All very well and good
until I try to execute the jar with
java -jar package/jar/Test.jar.
This gives me and error of:
$ java -jar package/jar/Tests.jar
Exception in thread “main” org.jruby.exceptions.RaiseException:
(LoadError) no such file to load – main
I’m not sure what is wrong, am I missing something here?