From: <bc...@wo...> - 2000-12-03 13:02:13
|
On Sat, 2 Dec 2000 19:42:21 -0500, you wrote: >I follow the instructions in jythonc.html, and modules appear missing. I >can find a PyProxy.java, but no class file. (help) The corresponding class file is located inside the jython.jar file. There is no need to extract the jar file, but it must be included in your classpath. >Jython works great as a python interpreter, though. > >Thanks, Eric > > >D:\programs\jython-2.0a1\Demo\javaclasses> jythonc Graph.py >processing Graph > >D:\programs\jython-2.0a1\Demo\javaclasses>cd jpywork/ > >D:\programs\jython-2.0a1\Demo\javaclasses\jpywork> java Graph >java.lang.NoClassDefFoundError: org/python/core/PyProxy > at java.lang.ClassLoader.defineClass0(Native Method) >Exception in thread "main" Try instead to to use: java -classpath D:\programs\jython-2.0a1\jython.jar Graph You can also try the --jar and --all options on jythonc. That will create a new jar file which include all the required org.python.* classes. regards, finn |