leaningtech / cheerpj-meta

Run Java 8 applications, libraries, applets, Java Web Start, and Oracle Forms on the web without legacy plugins.
https://labs.leaningtech.com/cheerpj
459 stars 21 forks source link

How is this compared to TeaVM? #155

Closed ghost closed 1 year ago

ghost commented 1 year ago

https://github.com/konsoletyper/teavm

alexp-sssup commented 1 year ago

As described in the official documentation TeaVM is severely limited. It is intended to develop new web applications and does not fully support widely used Java features like reflection and classloaders.

CheerpJ is designed to run full Java applications in the browser, including AWT and Swing applications. It fully support reflection, dynamic class loader, multithreading.

CheerpJ can also be used to convenient run Java libraries in the browser via the provided JS interoperability APIs. See here for more information: https://docs.leaningtech.com/cheerpj/Runtime-API