From: Ihab A.B. A. <ih...@ah...> - 2001-10-22 02:10:39
|
Hi again, According to "Ihab A.B. Awad" on Sunday 21 October 2001 20:32: > > 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 Based on some surfing, I realized that I need to supply more information. I am running on RedHat Linux RawHide 7.1.94, with the Sun Linux JDK 1.3.1_01. I can't find any way to turn off the JIT with this JVM; passing "-classic" to the JVM does not help. I'm running Java with the command -- java -cp .:/opt/java/jython-2.1a1/jython.jar SimpleEmbedded and, trying to add 'rt.jar' to the command line, as in -- java -cp .: /opt/java/jdk/jdk1.3.1_01-i386-Linux/jre/lib/rt.jar: /opt/java/jython-2.1a1/jython.jar SimpleEmbedded does not help. Peace, Ihab -- Ihab A.B. Awad <ih...@ah...> Center for Computational Genomics and Bioinformatics, University of Minnesota. http://www.cbc.umn.edu/~ihab/ |