JAVA_HOME is not set; JRE found at ../../jre
Checking version for ../../jre/bin/java
INFO: os.name: Linux
INFO: Attempting L&F: javax.swing.plaf.metal.MetalLookAndFeel
WARNING: While setting look and feel to [javax.swing.plaf.metal.MetalLookAndFeel]: <basedir>/InCharge/CONSOLE/smarts/jre/lib/i386/xawt/libmawt.so: libXi.so.6: cannot open shared object file: No such file or directory
INFO: Attempting L&F: com.sun.java.swing.plaf.gtk.GTKLookAndFeel
WARNING: While setting look and feel to [com.sun.java.swing.plaf.gtk.GTKLookAndFeel]: Could not initialize class java.awt.Toolkit
INFO: Attempting L&F: com.sun.java.swing.plaf.motif.MotifLookAndFeel
WARNING: While setting look and feel to [com.sun.java.swing.plaf.motif.MotifLookAndFeel]: Could not initialize class java.awt.Color
Exception in thread "main" java.lang.UnsatisfiedLinkError: <basedir>/InCharge/CONSOLE/smarts/jre/lib/i386/xawt/libmawt.so: libXi.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.(Unknown Source)
at java.awt.Component.(Unknown Source)
at com.netmg.notif.gui.NotifApplication.(NotifApplication.java:34)
at com.netmg.notif.gui.NotifApplication.main(NotifApplication.java:23)
To set JAVA_HOME correctly for Smarts SAM Notif in a Linux environment: