A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
How to resolve .dll already loaded in another classloader problem?
Joined: Mar 13, 2007
Oct 20, 2008 14:12:00
In my Java project, I need to use native dll file to access MS Outlook items for that I used Java Outlook Connector (third party API).But often I face the following problem .dll already loaded in another classloader when I use the statements
Can anybody help me to solve the problem?
Thank you for your valuable help
Joined: Mar 22, 2005
Oct 20, 2008 15:59:00
I vaguely recall that a JVM will load a specific DLL only once, and will not unload it even if the associated classloader is GCed.
That means the DLL would need to be loaded by a classloader ALL classes have access to, like the system classloader.
Ping & DNS, my free Android app for network diagnostics
I agree. Here's the link:
subject: How to resolve .dll already loaded in another classloader problem?
Log4j - NTEventLogAppender (Library is already loaded in another ClassLoader)
Rescheduling a Timer Task
UnsatisfiedLinkError when using custom ClassLoader
conflicting jar files and .dll
Oracle-JDBC dll file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014