I'm trying to have my Java code execute existing
Jython code.  When I compile the code using javac, I get a compiler error
that says it doesn't recognize the class PythonInterpreter (see <===).
CLASSPATH:  has the JDK, the jython.jar, my Jython application jar
PATH:  has the JVM
   import org.python.util.PythonInterpreter;
   import org.python.core.*;
  import SomeJavaClass;
   public class MyJavaClass
        public void SomeMethod (void)
         PythonInterpreter interp = new PythonInterpreter(); // <======== compiler error
         SomeJavaClass javaVar = null;
         // java statements, handled in Python
         interp.exec("import MyJythonModule");  
         interp.exec("javaVar = MyJythonModule.someMethod()");
         javaVar = (SomeJavaClass)interp.get("javaVar", SomeJavaClass);
      } // end SomeMethod
  } // end class MyJavaClass
Any ideas would be appreciated.
ronald_male@nexpress.com (W)
roastie@rochester.rr.com (H)