Some time ago I used Pi4J in one of my Raspberry Pi projects running Raspian. While trying to migrate this project to Arch Linux recently, I was unable to find a Pi4J version for that distribution. In the end I got it running by making a Pi4J version for Arch Linux myself. This tutorial describes how to build Pi4J on Arch.
If you don’t want to build the library yourself, you can just download the build here.
If you want to integrate a state of the art search engine into your application, Elasticsearch is an excellent choice. Out of the box it offers you the most amazing search options, the REST API is well documented, easy to understand and there is vibrant community behind it to help you out if needed.
After you finished the setup of Arch on your SD card, you can start configuring this Linux Distro to your needs. Here’s my config… Note: In case you need to resize your root partition it’s best to do it before you do anything else, this way you avoid the risk to loose any data. You can find a tutorial to this here.