|
Re: Using JNI with Eclipse+MTJ [message #32151 is a reply to message #32116] |
Mon, 13 July 2009 11:08 |
Eclipse User |
|
|
|
Originally posted by: craigjunk.setera.org
Maria,
What SDK are you using that supports JNI?
Craig
Maria Amor wrote:
> Hello,
>
> I'm having trouble trying to use JNI with Eclipse and MTJ. My VM
> implementation supports JNI so I am trying to create a Midlet that uses
> it. I have included the external libraries that implement JNI in the
> project build path (but not exported them). Also, in the "Native Library
> Location" I give the folder that contains the native libraries (.dll and
> h). I am able to compile my project successfully, however I get a
> preverification error in the class that declares the native method.
>
> Please, does anyone has some ideas that could help me solve this problem?
> Thanks a lot in advance.
>
> Best regards,
>
> María
>
>
>
|
|
|
|
Re: Using JNI with Eclipse+MTJ [message #32459 is a reply to message #32184] |
Wed, 15 July 2009 11:22 |
Eclipse User |
|
|
|
Originally posted by: craigjunk.setera.org
Given that MIDP doesn't, by default, allow for JNI you aren't going to
be able to use Sun's toolkit for this work. The preverification will fail.
Maria Amor wrote:
> Hello Craig,
>
> Thanks for your quick answer.
> Well, I'm using Sun's Wireless Toolkit 2.5.2. I donŽt have any specific
> SDK that supports JNI, but my VM does support it (I use IBM's J9).
>
> Regards,
> María
>
>
>
|
|
|
Re: Using JNI with Eclipse+MTJ [message #32494 is a reply to message #32459] |
Wed, 15 July 2009 11:30 |
Eclipse User |
|
|
|
Originally posted by: craigjunk.setera.org
To answer your question via email...
I have no idea what SDK you could use for this testing. It would have
to look like a standard ME SDK for MTJ to be able to use it.
Craig Setera wrote:
> Given that MIDP doesn't, by default, allow for JNI you aren't going to
> be able to use Sun's toolkit for this work. The preverification will fail.
>
> Maria Amor wrote:
>> Hello Craig,
>>
>> Thanks for your quick answer.
>> Well, I'm using Sun's Wireless Toolkit 2.5.2. I donŽt have any specific
>> SDK that supports JNI, but my VM does support it (I use IBM's J9).
>>
>> Regards,
>> María
>>
>>
>>
>
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04771 seconds