03 10 / 2012
Basically, Doppio is a project to get Java running in the browser without plugins. It includes an implementation of the Java Virtual Machine (VM), as well as an in browser compiler and bytecode disassembler. It is still a work in progress and performance obviously needs improvement before it is ready to be used in production, but so far it supports:
- All 200 opcodes
- Exact emulation of Java’s primitive types, include the 64-bit long
- Most of the Reflection API
- File and Standard I/O
- Major JDK libraries such as String, Pattern, and HashMap.
In my experience, the demo works best in Chrome, but it should work in any browser supporting local storage and typed arrays.