I have a Ubuntu OS, and when i run a comand: java -jar STAFMon.jar
In Terminal i see;
Exception in thread "main" java.lang.UnsatisfiedLinkError: no STAF in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at com.ibm.staf.STAFHandle.<clinit>(STAFHandle.java:119)
at com.ibm.staf.service.stax.STAXMonitorUtil.getNewSTAFHandle(STAXMonitorUtil.java:52)
at com.ibm.staf.service.stax.STAXMonitor.<init>(STAXMonitor.java:502)
at com.ibm.staf.service.stax.STAXMonitor.main(STAXMonitor.java:5569)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a Ubuntu OS, and when i run a comand: java -jar STAFMon.jar
In Terminal i see;
What is the output of the following:
In java -version
Response
version : 3.4.4
platform : linux
architecture: 32-bit
installer : IA
file : STAF344-setup-linux.bin
osname : Linux
osversion : *
osarch : x86
echo $LD_LIBRARY_PATH - do not display
echo $CLASSPATH
echo $PATH
uname -a
For library .so I used a command ldconfig, beacouse $LD_LIBRARY_PATH, did not wont to work.
I found a bug. I had a incorrectly amended LD_LIBRARY_PATH