title: Java : Read last n lines of a HUGE file
body: <p>I want to read the last n lines of a very big file without reading the whole file into any buffer/memory area using Java.</p>
  
  <p>I looked around the JDK APIs and Apache Commons I/O and am not able to locate one which is suitable for this purpose.</p>
  
  <p>I was thinking of the way tail or less does it in UNIX. I don't think they load the entire file and then show the last few lines of the file. There should be similar way to do the same in Java too.</p>