A very simple CLI-based real-life task manager written in Java. Given below are instructions on how to use it.
If you're interested to find out what it does, check out the USERGuide[docs/README.md]!
Prerequisites: JDK 17 (it hasn't been tested on newer Java versions)
- Navigate to the project root directory
- the folder containing
/src
- the folder containing
- Compile the Java files
javac -d out -sourcepath src/main/java src/main/java/bluebird/*.java src/main/java/bluebird/**/*.java-d outtells Java to place compiled.classfiles inside theout/directory.-sourcepathensures that Java compiles all necessary dependencies.- The
*.javaand**/*.javaensure that all Java files in subdirectories are compiled.
- Run the program
java -cp out bluebird.Main
- Create a JAR file from the compiled Java files
jar cfm myjar.jar manifest.txt -C out .- Replace
myjar.jarwith any suitable name ccreates a new JAR file.fspecifies the output filename (myjar.jar).mincludes the manifest file.-C out .means “change to theout/directory and add all compiled files.”
- Replace
- Run the program from the JAR
java -jar myjar.jar- Replace
myjar.jarwith whatever name was chosen in the previous step
- Replace