r/java • u/alexp_lt • Apr 21 '26
CheerpJ 4.3 - Run unmodified Java applications in the browser
https://labs.leaningtech.com/blog/cheerpj-4.3
84
Upvotes
r/java • u/alexp_lt • Apr 21 '26
View all comments
Show parent comment
14
u/alexp_lt Apr 21 '26
Performance is good enough to run Minecraft :-), although a historical version to be fair: https://browsercraft.cheerpj.com/
I cannot offer a direct comparison with TeaVM, but I don't think it would be an apples-to-apples comparison anyway. CheerpJ can run the vast majority of Java code with no changes, including code that uses reflection, multi-threading and custom class loaders. TeaVM, on the other hands, enforces strong constraints on the type of Java code that can be excepted to run.