From: Ihab A.B. A. <ih...@ah...> - 2001-10-22 01:32:39
|
Hi there, I'm having what must be a pretty simple newbie problem embedding Jython. I'm using Jython 2.1 Alpha 1. I can reproduce my problem by a 2-line change to the included "SimpleEmbeddedjava" example; when I add -- interp.exec("import java.lang"); interp.exec("print java.lang"); I get the error -- Exception in thread "main" Traceback (innermost last): File "<string>", line 1, in ? ImportError: no module named java What am I missing? What do I need to do? I tried to figure it out by reading the code of 'jython.java', since I can definitely "import java.lang" in an interactive console, but I couldn't. Thanks and peace, Ihab -- Ihab A.B. Awad <ih...@ah...> Center for Computational Genomics and Bioinformatics, University of Minnesota. http://www.cbc.umn.edu/~ihab/ |