java lib: updated build