Index: java/build
===================================================================
RCS file: /projects/compbio/cvsroot/kent/java/build,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 4 -r1.3 -r1.4
--- java/build	13 Dec 2006 01:42:39 -0000	1.3
+++ java/build	31 Dec 2009 06:31:54 -0000	1.4
@@ -1,6 +1,14 @@
 #!/bin/sh -e
 # run ant to build java tree
 
-#JAVA_HOME="/usr/java/jdk1.5.0_06"
-#export JAVA_HOME
+# set environment variables if not already set
+if [ x$JAVA_HOME = "x" ]
+then
+  export JAVA_HOME=/usr/java/jdk1.6.0_11/
+fi
+if [ x$_JAVA_OPTIONS = "x" ]
+then
+  export _JAVA_OPTIONS=-Xmx2048m
+fi
+
 exec ant -emacs "$@"

