add agent example using java-api
install java-api before build products example