NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

NBPlatform and JNA 3.2.7

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
Mikadoh



Joined: 19 Jul 2010
Posts: 5

PostPosted: Sun Nov 14, 2010 11:15 am    Post subject: NBPlatform and JNA 3.2.7 Reply with quote

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.





PostPosted: Tue Nov 16, 2010 10:47 pm    Post subject: [platform-dev] Re: NBPlatform and JNA 3.2.7 Reply with quote

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.





PostPosted: Thu Nov 18, 2010 8:59 pm    Post subject: [platform-dev] Re: NBPlatform and JNA 3.2.7 Reply with quote

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

PostPosted: Mon Nov 22, 2010 9:38 am    Post subject: Reply with quote

Thanks a lot ! Very Happy
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo