# calculator_gassm14 ## Requirements - java-11-openjdk - Apache Maven 3.8.1 ## Java Calculator project ### Compilation Navigate to the calculator-java folder and run: ``` mvn package ``` The resulting jar file can then be located in the /target folder. ### Execution Navigate to the newly generated /target folder and launch the jar: ``` java -jar calculator-java-1.0-SNAPSHOT.jar ``` ## JavaCC Calculator project To easily compile and run this project, you will find a file compileRun.sh in its folder. If you still prefer to compile and run separatly, you can check out the sections below. ### Compilation Navigate to the calculator-javacc folder and run: ``` javacc Calculator.jj && javac *.java ``` ### Execution In the same folder, execute: ``` java Calculator ```