Troubleshooting
If you encounter a "Java not found" error in the log when running an automation script to generate a design report, you can follow these steps to resolve the issue:
Install OpenJDK
If you are automating via code and using a configuration file, add a
javaLocation
item to the file. This item should specify the path to the java executableIf you are automating directly via the command line, add a
javaLocation
item to thecontrol | settings
object of the JSON file. This item should specify the path to the java executable, e.g.{ "control": { "settings": { "javaLocation": "C:\\OpenJDK\\jdk\\bin", "outputFolder": ".\\Output", ...
By installing OpenJDK and specifying the
javaLocation
in either the configuration JSON file or the model JSON file, you should be able to resolve the "Java not found" error and successfully generate the PDF report.