Raspberry-Pi-GPIO-Switch The resulting .jar must be run as root: sudo java -jar RaspberryPiGPIOSwitch.jar