- This is a greenfield Java project for a software engineering module.
- Duke is a to-do list manager in the form of a chatbot.
Prerequisites: Java 11
- Download
duke.jar
from releases. - Double click or use the
java -jar duke.jar
command to run. You should see something like:Hello from ____ _ | _ \ _ _| | _____ | | | | | | | |/ / _ \ | |_| | |_| | < __/ |____/ \__,_|_|\_\___|
- Refer to the user guide on how to use Duke.
Prerequisites: JDK 11, update IntelliJ to the most recent version
- Open IntelliJ (if you are not in the welcome screen, click
File
>Close Project
to close the existing project dialog first). - Set up the correct JDK version, as follows:
- Click
Configure
>Structure for New Projects
and thenProject Settings
>Project
>Project SDK
. - If JDK 11 is listed in the drop down, select it. If it is not, click
New...
and select the directory where you installed JDK 11. - Click
OK
.
- Click
- Import the project into IntelliJ as follows:
- Click
Open or Import
. - Select the
build.gradle
file in the project directory, and clickOK
. - If there are any further prompts, accept the defaults.
- Click
- After the importing is complete, run the
ip[run]
task in the Gradle toolbar. If the setup is correct, you should see something like:Hello from ____ _ | _ \ _ _| | _____ | | | | | | | |/ / _ \ | |_| | |_| | < __/ |____/ \__,_|_|\_\___|
- Based on the Duke project template.
- Followed the guides from SE-EDU.