Need help with Java application.

Create a java application to count the number of words, lines, and occurrences of some specific words from a given text. Read the file Iliad.txt into a program and calculate (count) the number of words and lines that occur in the text. Additionally, calculate (count) the number of times that each of the following names occur in the text:
Achilles
Agamemnon
Hector
Helen
Display all of these counts to the user. Here is an example of how the program output might appear:
This file(Iliad.txt) had 19000 lines and 139894 words.
Achilles's name appears 383 times.
Agamemnon's name appears 152 times.
Hector's name appears 447 times.
Helen's name appears 57 times.
# Checkpoints:
Correct Style - comments
Using the File object with Iliad.txt file
Testing for file existence and display error message if file not found
Process only if file found
Proper use of a try catch block
Using Scanners to read each line and word
Closes the file
Tutor Answer
