It's a fun project that explore the bitcoin network quickly:
First off you need to download the jar file for the library at https://bitcoinj.github.io/ Then, download SLF4J (https://www.slf4j.org/download.html), extract it, and get the file called slf4j-simple-x.y.z.jar Add these two jar files to your classpath and you are ready to go.
Let’s start from a simple example: compute (and then plot) the number of transactions per day. This is the code, heavily commented, just go through it.