Install libopenhft-compiler-java by entering the following commands in the terminal:
sudo apt update sudo apt install libopenhft-compiler-java
Java Runtime Compiler library
This library takes a String, compiles it and loads it returning a class from what was built. By default it uses the current ClassLoader. It supports nested classes, but otherwise builds one class at a time.