added java cmake part