Andreas Ronge created JRUBY-6429: ------------------------------------ Summary: Can't use JodaTime in JRuby - java.lang.NoSuchMethodError: org.joda.time.DateTime.<init>(IIIIII)V Key: JRUBY-6429 URL: https://jira.codehaus.org/browse/JRUBY-6429 Project: JRuby Issue Type: Bug Components: Java Integration Affects Versions: JRuby 1.6.6, JRuby 1.6.5 Environment: Ubuntu 11.10 - 64bit java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) Reporter: Andreas Ronge Priority: Minor
The Java joda time library does not work together with JRuby even if JRuby and the application use the same version of the joda library (2.0). I've written a failing test (jrubytest.rb) - https://github.com/andreasronge/joda_jruby ruby jrubytest.rb NativeException: java.lang.NoSuchMethodError: org.joda.time.DateTime.<init>(IIIIII)V (root) at jrubytest.rb:4 However, the JUnit tests works (using JavaEmbedUtils.newRuntimeAdapter()) See also - http://groups.google.com/group/jruby-users/browse_thread/thread/bebe9570cc21f735 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email