An update on how to setup ServiceNow to run custom Java. There's an older version out there that requires configuring the ECC Queue. This demonstration was built on Vancouver using a Raspberry Pi MID server and Netbeans 19 on a Fedora Linux environment. I do have a call out that this is using JVM 11 while ServiceNow Vancouver MID servers now support JVM 17.
Disclaimer: I am not a Java developer and so if you see any corrections please feel free to comment so other viewers are aware.