On Mon, May 24, 2004 at 08:30:07PM -0500, Randall Smith wrote: | Derrick 'dman' Hudson wrote: | >On Mon, May 24, 2004 at 02:28:58PM -0500, 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? | > | >$ jython | >Jython 2.1 on java1.4.1 (JIT: null) | >Type "copyright", "credits" or "license" for more information. | > | >>>>import java | >>>>print java | > | ><java package java at 28882952> | > | > | >Can you be more specific with the error message? I can't imagine how | >jython could run if java can't be found.
| Here it is: | | [EMAIL PROTECTED]:~$ jython | Jython 2.1 on java3.3.3 (JIT: null) ^^^^^ What java virtual machine are you using? That certainly isn't one of the ones from Sun. I would try using Sun's JVM first. You can install a (somewhat) outdated package from http://www.blackdown.org or you can obtain a binary tarball from http://java.sun.com. | >>> import java | Traceback (innermost last): | File "<console>", line 1, in ? | ImportError: no module named java | >>> -D -- Micros~1 : For when quality, reliability and security just aren't that important! www: http://dman13.dyndns.org/~dman/ jabber: [EMAIL PROTECTED]
signature.asc
Description: Digital signature