Fixed Java on OS X.  Use java_home to find it if no JAVA_HOME var.
Updated Gen CLI to use github instead of google code.