title: java -version giving error in Red Hat Enterprise Linux release 8.3
body: <p>I have installed jdk1.6 in my RHEL 8.3 OS , and changed the JAVA_HOME to point to this folder.</p>
  <p>However, if i do a java -version, it shows below error :</p>
  <pre><code>Error occurred during initialization of VM
  Unable to load native library: libnsl.so.1: cannot open shared object file: No such file or directory
  </code></pre>
  <p>Have restarted the putty session but still the issue persists.
  Any help is appreciated..</p>