You can extract text from pdf file with Aspose.PDF for Java Library. ...Click Here... to view the code.