30.04.2012 07:51, Angel Yanguas-Gil kirjoitti:
> Thanks for your reply.The only reason I can think of that could prevent a wildcard import is
> I am using vim + command line for my work. I was puzzled because the
> problem only takes place whenever I try from javax.swing import *, but
> it is able to locate the individual classes. It may be an issue of my
> jython.jar file, so I will try downloading the standalone jar and I
> will give it a try again.
if package caching is disabled (with -Dpython.cachedir.skip=true or
similar). The real solution is to not do wildcard imports with Java
packages in the first place.
This is also a good point and the only other thing I can think of that might be preventing you other than this is the cache dir isn't created or you don't have the permissions at the file system level to create it (which might cause a more obvious error).