Java 9 Released
oracle.com
oracle.com
It would be great if Oracle licensed & worked to get bytecode into chromium and Microsoft did likewise with cil. It will take wasm 10 years to mature anywhere near those two. It'd be nice to not have to wait.
I think what is plausible is that OpenJDK could support wasm as a platform (as a target for JIT and AOT), and similarly so could .Net. Wasm probably isn't mature enough yet for either to succeed, but I can't see why it can't get there.
1. Java applets aren't automatically run, you have to click an 'run' button
2. Java can't interact with DOM
JS is built on top of the DOM, and it runs automatically on page load. All JAVAWS has access to is a given section of screen. Honestly, I wish it happens, but I doubt it does. I think chrome would want WASM to succeed and to make everything compile to it because it's a platform they have a significant amount of control over. Which is a damn shame because the JVM is pretty much the best vm out there, and it makes more sense to support it than to try to play catch-up with another VM.
Too late to edit: I meant GTK3 support. It supported GTK2 just fine even before JDK 9.
In any case, the other JDK vendors with AOT support are still around.
Excelsior JET has a free license for open source projects, https://www.excelsiorjet.com/
But the majority of good ones are commercial. All JDK vendors selling JVMs for embedded devices or real-time deployments, do support AOT compilation.
This might benefit IDEs with slightly less startup time but with SSDs even that's questionable. And who besides IDE authors is writing desktop apps in Java anyways?