update lucene version to 4.8 and jdk version to 1.7