A failing example of using Joda Java Library together with JRuby
Java Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
README
joda_jruby.iml
jrubytest.rb
pom.xml

README

To reproduce this error

Install JRuby 1.6.6 or 1.6.5 (have not tested with other versions)

  mvn install

It should run the JUnit test successfully.
However, doing the same thing from JRuby fails

  $ ruby jrubytest.rb
  Calling DateTime success
  NativeException: java.lang.NoSuchMethodError: org.joda.time.DateTime.<init>(IIIIII)V
    (root) at jrubytest.rb:11