Visit Counter

Sunday, July 16, 2017

Exception in thread "main" java.lang.UnsatisfiedLinkError: libmawt.so: libXtst.so.6:

[root@localhost rapidwiz]# ./rapidwiz


Rapid Install Wizard is validating your file system......
CMDDIR=/root/Desktop/oraapps122/startCD3/Disk1/rapidwiz
Rapid Install Wizard will now launch the Java Interface.....

[root@localhost rapidwiz]# Exception in thread "main" java.lang.UnsatisfiedLinkError: /root/Desktop/oraapps122/startCD3/Disk1/rapidwiz/jre/Linux_x64/1.6.0/lib/i386/xawt/libmawt.so: libXtst.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.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
Could not find the main class: oracle.apps.ad.rapidwiz.RIWizard.  Program will exit.
[root@localhost rapidwiz]#






This Issue may occur because of soft links  or missing libraries with rpm “libXtst”.



Download below packages from this site

http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/i386/index.html

http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/index.html


[root@localhost rapidwiz]# rpm-ivh --force libXi-1.3-3.el6.i686.rpm

[root@localhost rapidwiz]# rpm -ivh --forcelibXtst-1.0.99.2-3.el6.i686.rpm



[root@localhost rapidwiz]# rpm -qa libXtst
libXtst-1.0.99.2-3.el6.i686
libXtst-1.0.99.2-3.el6.x86_6

Exception in thread "main" java.lang.UnsatisfiedLinkError: /libmawt.so: libXext.so.6:

[root@localhost rapidwiz]# ./rapidwiz


Rapid Install Wizard is validating your file system......
CMDDIR=/root/Desktop/oraapps122/startCD3/Disk1/rapidwiz
Rapid Install Wizard will now launch the Java Interface.....

[root@localhost rapidwiz]# Exception in thread "main" java.lang.UnsatisfiedLinkError: /root/Desktop/oraapps122/startCD3/Disk1/rapidwiz/jre/Linux_x64/1.6.0/lib/i386/xawt/libmawt.so: libXext.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.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
Could not find the main class: oracle.apps.ad.rapidwiz.RIWizard.  Program will exit.


[root@localhost rapidwiz]# rpm -qa libXext
libXext-1.1-3.el6.x86_64

Download package from below site.


http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/i386/index.html



[root@localhost rapidwiz]#rpm -ivh --force libXext-1.1-3.el6.i686.rpm

[root@localhost rapidwiz]# rpm -qa libXext
libXext-1.1-3.el6.x86_64
libXext-1.1-3.el6.i686
[root@localhost rapidwiz]#