3 Replies Latest reply on Jul 26, 2018 2:46 AM by kyatham

    Native library loading issue.



      Native libraries are not loading in my case . I tried all the possible ways but its not loading the jar. Below are the details:


      Hi, Below are the requested details:


      [root@hostname rsa]# pwd


      [root@hostname rsa]# tree .


      └── main

          ├── lib

          │   └── linux-x86_64

          │       └── librsacookieapi.so

          ├── module.xml

          └── RSACookieAPI.jar



      3 directories, 4 files

      [root@hostname rsa]#




      <?xml version="1.0" encoding="UTF-8"?>

      <module xmlns="urn:jboss:module:1.1" name="com.xx.iam.rsa">


                       <resource-root path="lib"/>

                      <resource-root path="RSACookieAPI.jar" />









      <?xml version="1.0" encoding="UTF-8"?>




                              <module name="com.xx.iam.rsa"  export="true" />









      [root@hostname rsa]# java -version

      java version "1.8.0_101"

      Java(TM) SE Runtime Environment (build 1.8.0_101-b13)

      Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

      [root@hostname rsa]#



      And i changed LD_library_path to linux-x86_64 folder. Please let me know if iam missing anything.

      While debugging it is showing Could not initialize class com.rsa.cookieapi.RSACookieAPI.