ImportError: No module named lang - Serious Jython newbie - Please help!

J

javahead

I am trying to write a simple gui in Jython that requires the java.awt
and java.lang packages.

Apparently, my installation is screwed up because I keep getting the
following error message indicating that the language package cannot be
found. For some reason I can access the swing package but not lang or
awt?

Traceback (innermost last):

I am running Windows 2000 along with the following java development
environments versions:

Sun's J2 sdk v1.4.2 and jdk1.3.1_06


Please help!
 
E

Erik Max Francis

javahead said:
Apparently, my installation is screwed up because I keep getting the
following error message indicating that the language package cannot be
found. For some reason I can access the swing package but not lang or
awt?

Are you getting any warnings when you startup Jython? If so, it may be
that Jython can't find or build some cache files it needs. If you're
getting them, run jython once as root, and then try again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top