From: SourceForge.net <no...@so...> - 2006-11-04 12:27:22
|
Bugs item #1590440, was opened at 2006-11-04 21:27 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1590440&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Jythonc compiler Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Ryan Mills (oniseijin) Assigned to: Nobody/Anonymous (nobody) Summary: Jythonc does not work in --jar mode 2.2a1 Initial Comment: 2.2alpha1 OS X 10.4 Java 1.5.0_06 The --jar option does not create a jar that works. Exception in thread "main" java.lang.NoClassDefFoundError: org/python/core/PyObject Strange thing is, it all works if I using jython <module>.py, or I compile using jythonc, and then call java <module> in the jpywork directory No matter what I do with the -cp or -classpath it does not work. ---- I still can't sort out how the compiled java code (not the --jar) is able to find the libraries in the <jython22installdir>/Lib, but somehow it does. The jython.jar MANIFEST.MF has no classpath entry. Also, when I try and run java <module> on the code directly, when it was made with --jar, even more strange messages come up: AttributeError: class 'org.python.modules.os' has no attribute 'path' I can understand that this is an alpha release, but it baffles me why I can use it with jython, or jythonc->java, but when I try and make a jar or package to deploy it, it all blows up. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1590440&group_id=12867 |