Java, IoT, Programming, Software Development, Software Engineering.
project: mvn clean package And after this you will have simple file run.sh inside build folder. And after that you have console output like this: LED high LED low LED high Button was pressed 1 times To more detail examples you can use Pi4J Project Documentation. This was a simple example. But Pi4J