logo       

Re: jythonc and PyObject: msg#00023

lang.jython.user

Subject: Re: jythonc and PyObject

From: "Jeff Quandt" <ignor542@xxxxxxxxxxx>
> Ok, I am getting rather frustrated with this problem. I cannot get PyObject
> to compile with -d. I even --addpackages="org.python.core" and
> --addpackages="org.python.code.*" and --addpackages org.python.core.
>
> org.python.core is listed in the required packages that jythonc lists during
> its work. however, it does not show up in the directory structure under
> jpywork.
>
> Here is my Pythonpath:
> c:\python22\lib;.;c:\jython;c:\jython\Lib
>
> Here is my classPath:
> c:\jython;c:\jython\Lib;c:\j2sdk1.4.1_01\bin;
> PathToMyProject\jpywork;
>
> Here is the command I use to compile:
>
> jythonc.bat -d fileToCompile.py
>
> After the compile cycle, I cd jpywork.
> java MyFile [cmdLineParam]
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/python/core/PyObject
>
> I am at a loss. I tried to manually extract the file from jython.jar but
> when I run:
> $ jar -x jython.jar
> or jar -t jython.jar
>
> I get no response. It simply hangs.
>
> So, any help would REALLY be appreciated.
>

you still need jython.jar on java classpath.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise