This is the Java runtime library used by bionic.js (for more information see the main repository)
Add this to your pom.xml:
<dependency>
<groupId>srl.forge</groupId>
<artifactId>bionic-js</artifactId>
</dependency>
Also, you must add a JJBridge engine for JavaScript code execution, for example JJBridge V8 engine.
The full javadoc is available at https://www.javadoc.io/doc/srl.forge/bionic-js/latest/index.html.
To ensure bionic.js runs properly you must set the JavaScript engine. Just add this at the beginning of your program:
BjsProject.setJsEngine(new V8Engine()); // In this case we are using JJBridge V8 engine
Also, if you need to enable the JavaScript inspector add:
BjsProject.enableInspector(9876); // Or any other free IP port on your machine
See the LICENSE file for license rights and limitations (MIT).