Documentation‎ > ‎

Installation Instructions

Installing Library JAR File

JNIWrapper JAR files should be on the program's class path. Library file  can be  also placed  on the  boot class  path or  in the extension directory of Java runtime, but this is not required.

Installing Native Code Library

JNIWrapper native  DLL can  be placed  virtually anywhere.  Its actual  location should take into  account that Java  code must find  the DLL to  load. It can be placed  somewhere  within program's  library  search path. Users  can add search  path to the default library loader used by JNIWrapper or even write a custom one  that searches for  native code in  a predefined location. Since  JNIWrapper v3.0 native  libraries  can  be  put into  any  jar  library  from the  application's classpath (but not into the META-INF folder).

Windows

Certain  users may like to install the  native  DLL into the directories on  the default  system path (e.g. Windows  root or  Windows\System32) –  this  requires adequate  rights  on NT/2000/XP systems. Installing  native DLL  this way may be convenient, but is not required.

Linux32

JNIWrapper native library libjniwrap.so can  be placed  into a system  directory from  the  system  path (e.g. /lib or /usr/lib).  You  can also  specify  custom library path using  the  LD_LIBRARY_PATH environement variable.  System  library paths are listed in the /etc/ld.so.conf file.

Linux64

JNIWrapper native library libjniwrap.so can  be placed  into a system  directory from  the  system  path (e.g. /lib64 or /usr/lib64). You can also specify custom library path using  the  LD_LIBRARY_PATH environement variable.  System  library paths are listed in the /etc/ld.so.conf file.

macOS

JNIWrapper  native  library libjniwrap.jnilib  can  be placed  into  the  system directory  /usr/lib.  You  can  also  specify  custom  library  path  using  the LD_LIBRARY_PATH environement variable.  System library paths  are listed  in the /etc/ld.so.conf file.

Solaris32

JNIWrapper native library libjniwrap.so can  be placed  into a system  directory from  the  system  path (e.g. /lib or /usr/lib).  You  can also  specify  custom library path using  the  LD_LIBRARY_PATH environement variable.  System  library paths are listed in the /etc/ld.so.conf file.

Solaris64

JNIWrapper native library libjniwrap.so can  be placed  into a system  directory from  the  system  path (e.g. /lib64 or /usr/lib64).  You  can also  specify  custom library path using  the  LD_LIBRARY_PATH environement variable.  System  library paths are listed in the /etc/ld.so.conf file.

AIX

JNIWrapper native library libjniwrap.so can  be placed  into a system  directory from  the  system  path (e.g. /lib or /usr/lib).  You  can also  specify  custom library path using  the  LD_LIBRARY_PATH environement variable.  System  library paths are listed in the /etc/ld.so.conf file.

Installing License File

License file is not the part of this package.  It has to be obtained separately.
Visit  TeamDev  site  (http://www.teamdev.com) to purchase the product or get an evaluation license.
License  file  has  to  be installed  in  the  same directory as the native code library or in the  META-INF subfolder of any jar library from the  application's classpath.

Warning: Do NOT rename the license file or it will not be recognized.