From: Jan W. <j.w...@sc...> - 2002-01-07 17:06:05
|
On Mon, Jan 07, 2002 at 11:20:05AM -0500, Rajarshi Guha wrote: > Hi, > just downloaded Jython and and have compiled one of my .py files to a= =20 > .class file with the command: > ../../jython-2.0/jythonc --deep -A org.python.modules xml2.py >=20 > However when I try to run the .class file I get the error: >=20 > Exception in thread "main" java.lang.NoClassDefFoundError:=20 > org/python/core/PyObject You need to include the jython.jar in your CLASSPATH, either in the envir= onment or on the commandline. The jython.jar file is located in the jython installation directory, same= place where the jython command lies. Cheerio, --=20 J.W...@sc... - Fon +4970719457-257 Fax-211 science+computing ag - Hagellocher Weg 71-75 - 72070 T=FCbingen A witty saying proves nothing. (Voltaire) |