News for hackers. Stuff that matters.
Re:CheerpJ Applet Viewer – Runs Java applets without a local... by kodablah on Monday June 19, 2017 @11:05AM (#14587503)
Yes, from the FAQ: "The CheerpJ compiler, based on LLVM/Clang, as well as on parts of Cheerp, converts Java bytecode into JavaScript, without requiring the Java source. CheerpJ can be invoked on whole Java archives (.jar) or on single .class files, and generates a .jar.js (or .js) output. "

We've seen this plenty with GWT and the likes, but this one is self-hosted in the browser to support dynamic class loading. As with Emscripten, the real struggle is the stdlib, not the translation. As an alternative, I would recommend people look at TeaVM[0].

0 - https://github.com/konsoletyper/teavm

Re:CheerpJ Applet Viewer – Runs Java applets without a local... by azakai on Monday June 19, 2017 @12:38PM (#14588250)
Another related project is Doppio, an open source JVM written in TypeScript,

https://github.com/plasma-umass/doppio