javaos.py is needed for the os module and should be in the Lib directory
under your jython.jar.
I don't know why it's not being found in your situation, try adding to your
> -----Original Message-----
> From: Ihab A.B. Awad [mailto:ihab@...]
> Sent: Sunday, October 21, 2001 6:32 PM
> To: jython-users@...
> Subject: Re: [Jython-users] ImportError: no module named java
> Yet more re this ... sorry for the proliferation of msgs.
> (a) I realized that "no module named java" was because my
> programs were
> not specifying a "python.cachedir" property correctly.
> Fixing this has
> fixed the original problem.
> (b) Now, running inside my JSP application (which is where I
> _really_ want
> to use Jython), when I do --
> import os
> I get the error --
> ImportError: no module named javaos
> Eek. So, now, does _that_ look familiar to anyone?
> Thanks as always to all and peace,
> Ihab A.B. Awad <ihab@...>
> Center for Computational Genomics and Bioinformatics,
> University of Minnesota. http://www.cbc.umn.edu/~ihab/
> Jython-users mailing list