On Wed, Oct 17, 2012 at 9:21 AM, Carl Bourne <carl.bou...@me.com> wrote:
> So when I tried:
>
>> kp.java_send :initialize, 2048
>
> I got the following error:-
>
> TypeError: can't convert Fixnum into Array

java_send takes the following params:

* name of the target Java method
* an array of Java types for the target method's signature
* arguments to pass

> However, as per Charles suggestion,  this worked:-
>
>> kp.initialize__method(2048)

Excellent!

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to