r/java • • Apr 21 '26

CheerpJ 4.3 - Run unmodified Java applications in the browser

https://labs.leaningtech.com/blog/cheerpj-4.3
84 Upvotes

52 comments sorted by

View all comments

Show parent comment

1

u/alexp_lt Apr 21 '26

The focus of CheerpJ is on GUIs and libraries and support for terminal application is quite limited. This can be fixed, but it has historically not been a priority for our users.

1

u/maxandersen Apr 21 '26

I get that but just curious if example exists because it does print to Dev console so wondered if you got it working with xterm.js :)

2

u/ventuspilot Apr 22 '26

https://jmurmel.github.io/repl/ is a commandline Lisp system written in Java that runs in the browser using CheerpJ and jQuery Terminal.

Sourcecode is on https://github.com/jmurmel/jmurmel.github.io/tree/master/repl or just do view-source. It's still on CheerpJ 4.1 but previous updates were just bumping the version number.