update java build script