This is a Maven project. You need to install Maven first before coding.
This project was developed with Java 8. Make sure you have appropriate SDK installed on your machine.
Maven is a build manager for Java projects. It helps you to install Java libraries, automate the project build process and manage your Java project.
Install Maven on:
- Mac: as simple as
$ brew install maven
(in case you don't know what is Homebrew, you should use it now). - Ubuntu:
$ sudo apt-get install maven
- Windows: refer to this guide
After installing Maven, you should be able to Import the project into the Eclipse workspace by choosing "Import" -> "Maven" -> "Existing Maven project". Select the path to the pom.xml
file of your project and click "Finish". The Eclipse IDE should be able to automatically install project dependencies if Maven is properly installed.
Refer to this guide if you meet any issues for importing.
You can run the program from App.java.