Update build-dspace

Add the set variable JAVA_HOME to build