build fix. Errors with java now appearing