CheerpJ 4.0: WebAssembly JVM for the browser, now with Java 11 and JNI support

"Today we are happy to announce CheerpJ 4.0, the latest major release of CheerpJ, a Java Virtual Machine and OpenJDK distribution in WebAssembly, designed to run Java applications and libraries in the browser."

https://labs.leaningtech.com/blog/cheerpj-4.0

#cheerpj #jvm #java #wasm

CheerpJ 4.0: WebAssembly JVM for the browser, now with Java 11 and JNI support

The latest release of our state-of-the-art Java runtime that runs completely in the browser via WebAssembly, is now available!

Leaning Technologies Developer Hub

Oh damn, I'm kinda shocked that I opened this on my fennec browser on android and there's an example embbeded in the blog post with swing / awt window application and it just works 😱😱. What kind of black magic is this. It even throws exceptions beautifully like you expect from a java application when I try to choose the gtk look and feel.

It's just a little slow but wtf is this black magic 😰

Wait a moment... Intellij in the browser???

This joins the 2 biggest eaters of ram in my machines together!!!

Where did we go wrong in this timeline?

I mean, we can generate some random code in a jar for the jvm, shippit it to the browser and run it in js for example using scala.js... 😎🤣🤣

#scala

It only took 20 years to go from java applets to not having it to having it again...

The only thing gained was not having to deal with policy files and the jvm dropping the policy manager feature I guess 🤣😅