Installed openjdk 18 on the linux.
It had hated the Headless version of Java at first, but the nonheadless version has different error. It can't find the OpenCv dll for some reason
https://pastebin.com/G8VVjyxG
I redownloaded on the Win10 and ran the example, same exact errors as before.
No time to experiment why atm, work is crazy.