add build requirements on Java