I have Windows XP and I’m trying to get jython-2.1 working.  I have both java and jview 5.00.3309 on my system.  Jython was built with jview because java gave the following error:

 

Exception in thread "main" java.lang.NoClassDefFoundError: jython-21

 

 

Using the jview built I cannot seem to import anything java.  

 

Jython 2.1 on java1.1.4 (JIT: null)

>>> from pawt import swing

Traceback (innermost last):

  File "<console>", line 1, in ?

  File "C:\WINDOWS\JAVA\jython-2.1\Lib\pawt\__init__.py", line 2, in ?

ImportError: no module named java

>>> 

 

What’s wrong?

 

Where can I get an Idle clone?  Without that, Jython is a bear compared to CPython 2.3.  Actually the only thing I’ve had run successfully in Jython was stuff I wrote with Idle and tested first in CPython.

 

Thanks,

David Redwine