Removing java as dependency