[jboss-user] [Installation, Configuration & Deployment] - Native Library xxx.dll already loaded in another classloader

eranhauser do-not-reply at jboss.com
Sun Jan 21 20:26:38 EST 2007


Hi,

I am using Jboss 4.0.3 and I am trying to use my lkgrt.dll.
I call the dll from a jar file inside my ear file and I get the following:
java.lang.UnsatisfiedLinkError: Native Library C:\WINDOWS\lkgrt.dll already loaded in another classloader. 
How can I over come this problem?
To load the dll I am using:
public class Lkgrt {

	static {
		  System.setProperty("java.library.path", "c:\\windows");
		  System.loadLibrary("Lkgrt");
		 
	}
...
}

any idea? please help

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004674#4004674

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004674



More information about the jboss-user mailing list