add info on proxy usage

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1235438 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/java/README b/lib/java/README
index 6b8d351..12b3afe 100644
--- a/lib/java/README
+++ b/lib/java/README
@@ -36,6 +36,16 @@
 To include Thrift in your applications simply add libthrift.jar to your
 classpath, or install if in your default system classpath of choice.
 
+
+Build Thrift behind a proxy:
+
+ant -Dproxy.enabled=1 -Dproxy.host=myproxyhost -Dproxy.user=thriftuser -Dproxy.pass=topsecret
+
+or via
+
+./configure --with-java ANT_FLAGS='-Dproxy.enabled=1 -Dproxy.host=myproxyhost -Dproxy.user=thriftuser -Dproxy.pass=topsecret'
+
+
 Dependencies
 ============