Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 623 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 623 Bytes

WordCounter


Requirements:

  • Java 17
  • Maven

Hi, here is my solution for the assessment. You can compile the project using Maven by running the following while in the project root folder:

mvn package

Once compiled, you have two options when it comes to running the jar. One is that you provide the file path as an argument, for example:

java -jar ./target/WordCounter-1.0-SNAPSHOT-shaded.jar test.txt

The second option is by simply running the jar and then typing the file path and hitting enter:

java -jar ./target/WordCounter-1.0-SNAPSHOT-shaded.jar