You will need to add the following to the edaenv.cfg file and re-start the server.
JAVA_HOME=pathtojaveinstall/jre
CLASSPATH=pathtojarfile
Once you have fixed the problem you should see the JAVA path in edaprint.log and the issue has been fixed
Edaprint log:
01/30/2023 11:12:19.498 I Configuring PATH for Java JVM for JSCOM3 Listener...
01/30/2023 11:12:19.498 I
01/30/2023 11:12:19.498 I Java location variables are not set, checking if valid JDK or JRE values available from registry.
01/30/2023 11:12:19.498 I Java JRE found in registry, setting JAVA_HOME=C:\Program Files\Java\jre1.8.0_341
01/30/2023 11:12:19.514 I
01/30/2023 11:12:19.514 I JAVA_HOME "C:\Program Files\Java\jre1.8.0_341\bin\server\jvm.dll" found, adding
01/30/2023 11:12:19.514 I directory and parent "C:\Program Files\Java\jre1.8.0_341\bin" directory to path.