Skip to Main Content
The Adabas & Natural Ideas Portal does not contain ideas from products ApplinX and EntireX. Please refer to the IBM Ideas Portal for these products (IBMid required).
Status New
Categories Natural (NAT)
Created by Markus Amshove
Created on Apr 28, 2026

Allow custom binary location for Natural Native Interface

With the Natural Native Interface it is currently necessary to copy the binary, which uses libnatural, into the bin folder of Natural. This is stated in the README from the sysexnni sample (/opt/softwareag/Natural/samples/sysexnni/readme.txt).

The reason this is necessary is that, for one, libnatural seems to locate the NATURAL.INI file relatively to the binary location, e.g. ../etc/NATURAL.INI. This was tested with tracing the Linux system calls (attached screenshot).

This limitation might not be so bad when creating a C-program that consumes libnatural.

When creating an application that consumes libnatural but runs on a runtime like the JVM then the only way to use the Natural Native Interface is to either statically ahead of time compile the Java code or copy a Java runtime into /opt/softwareag/Natural so that you can call /opt/softwareag/Natural/bin/java -jar /my/app.jar

Copying a whole JRE into the installation of Natural is very dirty and not desired.

It would be really helpful if libnatural (and libnatsec when using Natural Security) use NAT_HOME or similar environment variable to resolve their needed files.