Deprecation notice
CheerpJ 2 is deprecated. Consider migrating to CheerpJ 3 .

To showcase the capabilities of the CheerpJ compiler we have published several demos


This demo highlights how complex Java applets with 3D rendering can efficiently and safely run in any browser using CheerpJ.

This specific applet is a visualization tool for protein structures.

  • Go to the demo
  • Find the source code here

Swing examples:

A few selected Java Swing examples to demonstrate how complex Swing GUI apps can be automatically converted to HTML5/JavaScript.


A playground to compile and run Java programs directly in the browser. Both console and GUI applications are supported. The standard javac compiler is used, since javac is also written in Java the whole compiler runs in the browser, together with the compiled application.

  • Go to the demo (please inspect the page using the devtools).

iText Demo

Edit PDFs fully client side using the industry standard iText library converted to JavaScript. This demo demonstrates how CheerpJ APIs can be used to instance Java objects and call methods directly from JavaScript.

Was this page helpful?
Suggest changes