From memory I think you will need to install the Java environment that is on the install DVD of ARCHICAD. Then you can try running the installer again.
Later Java versions in later Windows operating systems may not be compatible with that earlier ARCHICAD installer.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28