Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » ClassLoader
ClassLoader [message #899590] Wed, 01 August 2012 10:18 Go to previous message
user Kyle is currently offline user Kyle
Messages: 19
Registered: April 2012
Junior Member
Hi,

I have a question about ClassLoader in WindowBuilder.

In ParseFactory, when we initialize classLoader (initializeClassLoader(AstEditor editor)), we get new ClassLoader each time we refresh our design page.

My problem it's, apparently, old classLoader is never kill and I load dll library in my ClassLoader but library cannot be load if it is already load in another classLoader..
Quote:
Native Library XXX already loaded in another classloader


I create my toolkit based on windowBuilder for personal jar library. But this jar library depend of native method, so I use JNI and I have a dll to load it in my ClassLoader.

So I want to know If I can kill old ClassLoader or how can I load my dll?

Thanks Wink
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Generic Panel/Dialog with Actions will not render GUI
Next Topic:Error load template file when creating new Swing Databinding project
Goto Forum:
  


Current Time: Tue Jun 18 02:52:15 EDT 2013

Powered by FUDForum. Page generated in 0.01738 seconds