Open folder as IntelliJ project Go to the Main class and run the code; see prints on console. Go to pom.xml: right-click> + add as Maven project. Build the JAR: In IntelliJ, open the Maven side panel, ...