title: get Hard Link Count in Java
body: <p>I need something to get the hard link count from a file in a solaris10 os in java.</p>
  
  <p>parsing ls -l is not an option.</p>
  
  <p>I tried using posix for java <a href="http://bmsi.com/java/posix/index.html">http://bmsi.com/java/posix/index.html</a> but couldn't manage to get it working.</p>
  
  <p>Is there any other lightweight API or code to get this info?</p>