From: Finn B. <bc...@wo...> - 2002-05-22 14:33:50
|
[rya...@pr...] > I have put Jython on several machines and I keep getting this > error whenever I try to do most anything since everything even > the libraries (in general) need to import Java. Is it something > dumb like I need to get Sun's JDK or should the jvm that is on > NT have what I need (I have python pretty well under control, > but I don't know anything about Java, I'm hoping this will make > it bearable to learn) > The applets work fine on the web page and jython installed with > the GUI and everything, so whatever I need is pretty dumb (I > looked in both jython books and searched google groups) and > I'm the only person who has been so clueless that they can't > figure it out (I've tried this so many times in the past year > with 98 and me I was hoping NT would fix whatever was wrong) > > > C:\WINNT\JAVA\JYTHON-2.1>jython > Jython 2.1 on java1.1 (JIT: null) > >>>>from java.applet import Applet >>> > Traceback (innermost last): > File "<console>", line 1, in ? > ImportError: no module named java Try running the command: clspack -auto That will make the MS java classes and packages available to jython. regards, finn |