This is not an issue with the Cloud Director application, but the underlying OS directory structure and in particular the version of the Java Development Kit (JDK) in use.
A fix to remove the leftover Java Runtime Environment(JRE) files during the upgrade without manual intervention is added to VMware Cloud Director 10.3.3.2 available at VMware Downloads and VMware Cloud Director 10.4 available at VMware Downloads.