A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
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
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 networking tools app
subject: How to resolve .dll already loaded in another classloader problem?
Log4j - NTEventLogAppender (Library is already loaded in another ClassLoader)
Oracle-JDBC dll file
conflicting jar files and .dll
UnsatisfiedLinkError when using custom ClassLoader
Rescheduling a Timer Task
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014