I would like to load a different library for different objects of a same class...
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ricardo_Torres
Posted On:   Monday, November 17, 2003 08:13 AM

I have a class which defines a native method.
I would like to link this native method with different libraries at run time ( different objects with different libraries). How can I do that? Can I use System.loadLibrary("") out of a static block?

Re: I would like to load a different library for different objects of a same class...

Posted By:   Ganesh_Iyer  
Posted On:   Wednesday, December 3, 2003 05:52 PM

Yes u can use System.loadlibrary out of the static block. just make sure that u have different instances of the class from which u would make the loadlibrary call.
About | Sitemap | Contact