leaningtech / cheerpj-meta

Run Java 8 applications, libraries, applets, Java Web Start, and Oracle Forms on the web without legacy plugins.
https://labs.leaningtech.com/cheerpj
434 stars 21 forks source link

CheerpJ3 not working on iPad Safari #189

Closed TerraStudio closed 4 months ago

TerraStudio commented 4 months ago

I can't get Cheerpj3 to work on my iPad, while it works fine on Mac.

<script type="module">  
        (async function () {
        await cheerpjInit();
            cheerpjCreateDisplay(-1, -1, document.getElementById("container"));
        await cheerpjRunJar("/app/filius-1.14.2-shaded.jar");
      })();
    </script>

Leads to: Unhandled Promise Rejection: CompileError: WebAssembly.Module doesn't parse at byte 2443: invalid section

<script type="module">  
        await cheerpjInit();
            cheerpjCreateDisplay(-1, -1, document.getElementById("container"));
        await cheerpjRunJar("/app/filius-1.14.2-shaded.jar");
    </script>

Leads to: SyntaxError: Unexpected identifier 'cheerpjInit'