Add java to build