Run a Java library
Use Java classes in JavaScript
Deprecation noticeCheerpJ 2 is deprecated. Consider migrating to CheerpJ 3 .
1. Include CheerpJ on your page
2. Initialize CheerpJ and load your Java library
Donβt forget to use the /app/ prefixIt is common for first-time users to forget to add the prefix β/app/β when passing the application location to cheerpJRunJar() or cheerpjRunMain().
This will load library.jar
from the root of your web server.