What I am trying to achieve: Call Java class's method from Javascript What I did so far: 1) I downloaded rhino1_7R2 2) added js.jar (this was located right under directory rhino1_7R2) to my project library 3) created fooclass with ScriptableObject
Problems I am getting I am getting an error var pn = new Packages.foo.foo.fooclass(); Error message from FireBug: uncaught exception: Error calling method on NPObject! [plugin exception: java.lang.ClassNotFoundException: foo.foo.fooclass]. Disclaimer: Pardon me if this question might be too simple to ask on this forum.. Any help would be greatly appreciated. thank you, _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
