Randall Smith wrote:
If you have installed Jython, maybe you can help.

I just installed Jython using apt-get install jython. I'm not a Java programmer. When I fire up the interpreter and type 'import java', I get an import error saying the module can't be found. Any help?

Randall


Thought this might be helpful.  What does java not import?

[EMAIL PROTECTED]:~$ jython -v
import: 'exceptions' as org.python.core.exceptions in builtin modules
Jython 2.1 on java3.3.3 (JIT: null)
import: 'site' as /usr/lib/python2.1/site$py.class
import: 'sys' as sys in builtin modules
import: 'os' as org.python.modules.os in builtin modules
import: 'javaos' as /usr/share/jython/Lib/javaos$py.class
import: 'java' not found (=> ImportError)


Randall


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to