``` irb(main):013:0> date = java.sql.Date.new(0) => # irb(main):014:0> clazz = java.sql.Date.java_class => class java.sql.Date irb(main):015:0> t = Time.new(0) => 0000-01-01 00:00:00 -0752 irb(main):016:0> t.to_java(clazz) Traceback (most recent call last): 16: from org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:361) 15: from org.jruby.ir.instructions.CallBase.interpret(CallBase.java:549) 14: from org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:84) 13: from org.jruby.RubyKernel$INVOKER$s$0$3$eval.call(RubyKernel$INVOKER$s$0$3$eval.gen) 12: from org.jruby.RubyKernel.eval(RubyKernel.java:1048) 11: from org.jruby.RubyKernel.evalCommon(RubyKernel.java:1086) 10: from org.jruby.ir.interpreter.Interpreter.evalWithBinding(Interpreter.java:182) 9: from org.jruby.ir.interpreter.Interpreter.evalCommon(Interpreter.java:158) 8: from org.jruby.ir.interpreter.Interpreter.INTERPRET_EVAL(Interpreter.java:106) 7: from org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72) 6: from org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:316) 5: from org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:174) 4: from org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:375) 3: from org.jruby.java.addons.KernelJavaAddons$INVOKER$s$to_java.call(KernelJavaAddons$INVOKER$s$to_java.gen) 2: from org.jruby.java.addons.KernelJavaAddons.to_java(KernelJavaAddons.java:29) 1: from org.jruby.RubyTime.toJava(RubyTime.java:1472) Java::JavaLang::NoClassDefFoundError (java/sql/Date) ```