I’ve come across JavaPoly, which is basically polyfilling native JVM support in the browser. It is based on doppio, which is a JVM written in TypeScript. So using that I should be able to load in a .jar file the same way I load a .js library - by using a
<script> tag in the HTML. Once loaded, I should be able to call the public APIs contained therein.
Has anyone ever tried a scheme like that? Does it seem feasible?