Add classpath for java example Makefile
diff --git a/examples/Makefile b/examples/Makefile
index 51f1342..d16bb56 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -51,7 +51,7 @@
go test list_people.go list_people_test.go
javac_middleman: AddPerson.java ListPeople.java protoc_middleman
- javac AddPerson.java ListPeople.java com/example/tutorial/AddressBookProtos.java
+ javac -cp ../java/core/target/*.jar AddPerson.java ListPeople.java com/example/tutorial/AddressBookProtos.java
@touch javac_middleman
add_person_java: javac_middleman
diff --git a/examples/README.txt b/examples/README.txt
index b33f841..2e4f6e4 100644
--- a/examples/README.txt
+++ b/examples/README.txt
@@ -28,6 +28,13 @@
"-lpthread" from the linker commands (perhaps replacing it with something else).
We didn't do this automatically because we wanted to keep the example simple.
+## Java ##
+
+protobuf-java-*.jar can be generated by:
+ cd ../java
+ mvn package
+and will be used by "make java"
+
## Go ##
The Go example requires a plugin to the protocol buffer compiler, so it is not