For use on a Raspberry Pi, you can clone the repository to your Raspberry Pi using
git clone https://github.com/allthingstalk/java-sdk
or download, unzip and copy the files manually.
If only the core library is needed, simply add the .jar file to your project.