0 Replies Latest reply on Jan 21, 2007 8:26 PM by Eran lulu

    Native Library xxx.dll already loaded in another classloader

    Eran lulu Newbie

      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