@open remnant If you try to launch Windows installer that does not work like that. Linux does not natively execute Windows exe files, two differents systems with two different binary executable format etc...
You can however do it using Wine (which is a kind of emulator that allow to run Windows programs on Linux) BUT, if you want to install Java JRE, you should not do it using Windows installer