JPype - passing to Java main

unlikeablePorpoise at gmail.com unlikeablePorpoise at gmail.com
Tue Aug 14 15:20:39 CEST 2007


Good point Laurent. Here is the error produced when I try to access
main() using
'com.JPypeTest.main("arg")'

The original code is pasted at the top of this thread. I only added
'com.JPypeTest.main("arg")' which causes the error below

-------------ERROR_-------------
  File "tester.py", line 10, in <module>
    com.JPypeTest.main("arg")
RuntimeError: No matching overloads found. at src/native/common/
jp_method.cpp:121
----------END ERROR-------------

Thanks,
Sarah

On Aug 14, 8:03 am, Laurent Pointal <laurent.poin... at limsi.fr> wrote:
> unlikeablePorpo... at gmail.com a écrit :
>
> >> Try this:
> >> com.JPypeTest.main("arg")
>
> >> Ian
>
> > Thanks for your suggestion, but it doesn't work (produces an error).
>
> This is where you should have copy/pasted the error.
>
> ;-)
>
>
>
> > Does anybody else have any ideas?
>
> Sorry, no.





More information about the Python-list mailing list