A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Java in General
How to resolve .dll already loaded in another classloader problem?
Joined: Mar 13, 2007
Oct 20, 2008 14:12:00
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.
subject: How to resolve .dll already loaded in another classloader problem?
conflicting jar files and .dll
Log4j - NTEventLogAppender (Library is already loaded in another ClassLoader)
UnsatisfiedLinkError when using custom ClassLoader
Rescheduling a Timer Task
Oracle-JDBC dll file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015