JPype - passing to Java main

Gary Duzan mgi820 at motorola.com
Tue Aug 14 12:18:14 EDT 2007


In article <1187097639.176267.33050 at d55g2000hsg.googlegroups.com>,
 <unlikeablePorpoise at gmail.com> wrote:
>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

   Just a guess, but try com.JPypeTest.main(["arg"]).

					Gary Duzan
					Motorola HNM



>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