How to use GraalJS with code generated by X3DJSONLD.

Use the following function in bash, and insure the correct path to js.exe and X3DJSAIL.4.0.full.jar. Also make sure your classpath is correct for your platform (/ versus \ and ; versus :)
function jjs() {
        /c/graaljs-community-jvm-24.0.0-windows-amd64/graaljs-community-24.0.0-windows-amd64/bin/js.exe --vm.Xss1g --vm.Xmx4g --jvm --vm.classpath="C:/Users/john/pythonSAI/X3DJSAIL.4.0.full.jar;." --experimental-options --polyglot --vm.Djs.allowAllAccess=true "$@"
}

Download X3Dautoclass.js

X3Dautoclass.js

Run your JavaScript

$ jjs your_file_name.js