Tuesday, September 29, 2015

jdev fails to open in linux java.lang.UnsatisfiedLinkError

Sometimes the jdev installer or the jdev itself fails to load on linux with the error java.lang.UnsatisfiedLinkError.

In such cases look at the error message. It will tell about the missing libraries/shared files in the OS
For .eg
java.lang.UnsatisfiedLinkError: /opt/app/oracle/Middleware/JDEV/jdk160_24/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory


/


To resolve such issues open the terminal and change to root user, the install the missing libraries using the yum install command




yum install libXtst.so.6




There are cases where in the jdev installer itself may not open in graphical mode due to the missing libraries
Two such libraries are  libXp.so.6   and libXtst.so.6

Try to install these libraries and then  try to start jdev

yum install libXp.so.6
yum install libXtst.so.6

No comments:

Post a Comment