Error loading native Library: libnjni9.so. Solution $ netca
Error loading native Library: libnjni9.so.
Java. Lang. unsatisfiedlinkerror: jnigetoraclehome
At oracle.net. Common. netgetenv. getoraclehome (netgetenv. Java)
At oracle.net. Ca. cmdlineargs. setoraargs (cmdlineargs. Java)
At oracle.net. Ca. netca. <init> (netca. Java)
At oracle.net. Ca. netca. Main (netca. Java)
Cause:
LD_LIBRARY_PATH is mainly used to set environment variables. By default, LD_LIBRARY_PATH searches 64-bit paths, while someProgramThe name is the same under 32-bit and 64-bit.
This search path will report the above error,
Solution:
Method 1. Set LIBRARY_PATH = $ ORACLE_HOME/lib32: $ LD_LIBRARY_PATH.
Method 2.
You can also modify libnjni9.so In the lib directory. The file name is another name.
Method 3.
If none of the above solutions are available, modify asynchronous Io.
1. First, use lsdev-cc aio to check that the status is available. If the following command is not executed
Mkdev-l aio0
2. Change Smitty AIO to the system startup mode, which is available.
Or use the command line to modify
Chdev-l aio0-p-A AutoConfig = 'available'