The error still appeared after installing openJDK-21. However, it was installed under my Windows home directory, under .jdks folder. I moved jdk files to another location and the error did not appear. However, the installer just terminated without installing anything. The good news is that Art's solution fixed a similar issue when installing Informix server on Ubuntu.
UPDATE: The Windows installer ran after changing the command to ids_install -i gui. However, a new error appeared:
I entered somewhat complex passwords, so now I'm thinking it must be our IT not allowing creation of other users. I guess I will pusue the Linux version.