Shameless plug: we solved the opposite problem, running any Java application in the browser via WebAssembly: https://labs.leaningtech.com/blog/cheerpj-4.3
And yes, it does run Minecraft as well :-) https://browsercraft.cheerpj.com/
And yes, it does run Minecraft as well :-) https://browsercraft.cheerpj.com/
CheerpJ Just-In-Time compiles Java bytecode at runtime, so it makes no difference if the classes come from JAR files or are dynamically generated.
https://www.destroyallsoftware.com/talks/the-birth-and-death...
Consider joining our Discord for help: https://discord.leaningtech.com