I should have added, to my previous response, that, at least on my system, the jar file is installed in /usr/share/ditaa/ditaa.jar, not /usr/share/java/ditaa.jar. I don't know if this is relevant at all.
-- : Eric S Fraga via Emacs 28.0.60, Org release_9.5-30-g9e71df : Latest paper written in org: https://arxiv.org/abs/2106.05096