I am trying to import a package from a jar I have created but I am
having no luck.
I have launched the javascript interpreter using java -jar js.jar

I am trying:

importPackages(Packages.com.myPath.packageClass)

But when I try to invoke app = Application.getInstance() say on one of
the classes in the package it does not recognize Application.

I am pretty sure that the interpreter does not know where or about my
jar. How do I tell it where it is? I have copied it to the interpreter
folder.

Many Thanks
Neil
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to