git clone https://github.com/google/protobuf.git
sudo apt-get update
sudo apt-get install autoconf
sudo apt-get install Libtool
./autogen
./configure
make
Build protobuf jars
protoc --java_out=src/main/java -I../src \
../src/google/protobuf/descriptor.proto