title: Java libjava.so file error
body: <p>It's been a day since I am trying to get "java" command run on a server, that has java5 jre installed. Problem is I always get </p>
  
  <blockquote>
    <p>Error: could not find libjava.so Error: could not find Java 2 Runtime Environment.</p>
  </blockquote>
  
  <p>even if I run it from the installation directory, /usr/lib/java1.5/jre/bin. I can see libjava.so is in ../jre/lib/amd64 directory but not sure why wouldn't it get picked up. Any hints would be greatly appreciated.</p>
  
  <p>-Thanks</p>