Exported sketch from IOS much bigger than exported sketch from Windows 10

Hello, when I export from a mac my sketch is nearly 300 times bigger than the same sketch on Windows. Is this correct? If so, what is the reason for this?

does it is linked to “embed java”?
when you export you see some options
if “embed java for mac os x” is enabled the mac app will embed java and then be autonomous, it will work on any mac whatever java version is installed or not
export for windows from a mac, will give only the java jar file and rely on the java installed on the windows machine
opposite is true if you export on windows, you can embed windows java and mac app will be quite small

It’s a completely different operating system. The code to do the same thing on mac compiles very differently.