I've added the static jython jar (ie standard library included) to a larger
project which is itself packaged into a jar and pushed out to clients. I am
able to instantiate the interpreter and call my scripts from Java. However
my scripts, when executed in the PythonInterpreter are not able to see the
standard library (eg "import os" fails). Jython.jar alone works fine from
the command line and I've verified the standard library made it into the
larger application jar (using winzip to examine the \Lib directory) but am
at a loss why it fails in my larger application. "import sys" works for
some reason but no changes to sys.path seem to help.
Any help would be greatly appreciated.