From: Don C. <dco...@ch...> - 2003-09-02 13:11:49
|
Try adding jython.jar to your classpath $ java -classpath ~/jython-2.1/jython.jar:. jy_counter On Mon, 2003-09-01 at 17:29, antone wrote: > i am trying to complie a simple example program as such > > jythonc jy_counter.py > > it creates the files in the jpywork dir but when i cd to it then run > java jy_counter i get this error " > Exception in thread "main" java.lang.NoClassDefFoundError: > org/python/core/PyObject > " > I am new to jython and java. i am running redhat linux. Did i forget > to set an environment string or something? Please help. > > the code comes from the jython essentials book but i also had the same > problem with the demos that come with jython21. > > -- > antone <ant...@ve...> |