Problem accessing java with jruby file


I have a java file and a jruby file in same package(com.nancy) in same
I am trying to access the java file by doing:-

include_class ‘com.nancy.MyExample’

This throws me “cannot load java class(Name Error)”

Can somebody help me with what am i missing?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs