NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Mikadoh
Joined: 19 Jul 2010 Posts: 5
|
Posted: Sun Nov 14, 2010 11:15 am Post subject: NBPlatform and JNA 3.2.7 |
|
|
Hi.
I'm using the VLCJ library in my Netbeans Platform project, which need JNA.
But in the Netbeans Maven repo I can only found the 3.0.9 version of JNA and VLCJ now require JNA 3.2.7.
But with JNA 3.2.7 I get this exception :
java.lang.UnsatisfiedLinkError: com.sun.jna.Native.sizeof(I)I
at com.sun.jna.Native.sizeof(Native Method)
Is there any way to use JNA 3.2.7 with Netbeans Platform ? |
|
| Back to top |
|
 |
Jesse Glick Posted via mailing list.
|
Posted: Tue Nov 16, 2010 10:47 pm Post subject: [platform-dev] Re: NBPlatform and JNA 3.2.7 |
|
|
On 11/14/2010 06:15 AM, Mikadoh wrote:
| Quote: | Is there any way to use JNA 3.2.7 with Netbeans Platform ?
|
Create your own library wrapper module for it. Should not interfere with the 3.0.9 version bundled with the Platform. |
|
| Back to top |
|
 |
Jesse Glick Posted via mailing list.
|
Posted: Thu Nov 18, 2010 8:59 pm Post subject: [platform-dev] Re: NBPlatform and JNA 3.2.7 |
|
|
On 11/16/2010 05:35 PM, Jesse Glick wrote:
| Quote: | Create your own library wrapper module for it. Should not interfere with
the 3.0.9 version bundled with the Platform.
|
Correction: since it uses native libraries, loading multiple copies may be impossible. I have filed https://netbeans.org/bugzilla/show_bug.cgi?id=192113 to upgrade the
bundled version for 7.0. In the meantime you might try producing your own library wrapper module with the same code name base (org.netbeans.libs.jna) and using it in
place of the one NB ships. |
|
| Back to top |
|
 |
Mikadoh
Joined: 19 Jul 2010 Posts: 5
|
Posted: Mon Nov 22, 2010 9:38 am Post subject: |
|
|
Thanks a lot !  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|