close #12

Error if JAVA_HOME not set.  Redo some of the exceptions