Jdk installation javaws error javaws: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

Posted by

javaws -version

[root@centos ~]# javaws: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
-bash: javaws:: command not found

install this package

yum -y install libX11-devel.x86_64

and then magic happens

[root@centos ~]# javaws -version
Java(TM) Web Start 10.71.2.14-fcs
Usage:  javaws [run-options] <jnlp-file>
        javaws [control-options]

Leave a Reply

Your email address will not be published. Required fields are marked *