The Windows Java agent fails to start and does not generate logs in the temp folder or a security folder in the bin directory․
While attempting to start the agent from the command line with: ucxjwx6․exe --console returns Error 126․
Error Message:
"126 The specified module could not be found. >libcpprnt/src/System.cpp#sys::System::loadLibrary:220<"
Symptoms:
Agent refuses to start via Service Manager or command line․
No log files are created in the agent's temp directory․
Occurs during a fresh installation or startup of the v24 Windows Java agent on a remote server․
OS: Windows
Agent: Windows Java Agent 24․x
Java: Java 17 (Eclipse Adoptium)
We have received confirmation that the solution resolves the issue. The issue is suspected to be caused by a corrupt or compromised Java Runtime Environment (JRE) installation on the host system or security software blocking access to the JRE in the default C:\Program Files location․
Provide the agent a JRE that it case use.
Download a clean JRE: Download a fresh version of Eclipse Adoptium Java 17 (JRE zip file)․ Example: https://adoptium․net/temurin/releases?version=17
Extract and Rename: Extract the zip file and rename the resulting directory (e․g․, jdk-17․0․x+x-jre) to exactly "jre"․
Deploy Private JRE: Move the newly created "jre" folder into the agent's bin directory (C:\Automic\Agents\windows\bin)․ The folder structure should look like <AgentInstallDir>/bin/jre/bin/java․exe․
Test Startup: Navigate to the agent's bin directory in a command prompt and run the console command․ Command: ucxjwx6․exe --console
Expected: The agent starts successfully and the console output shows the correct JRE_HOME path pointing to the local bin/jre folder․
Reinstall Public JRE (optional): If the private JRE works, you may choose to uninstall and clean reinstall the public Java on the system to resolve potential corruption or security blocking in C:\Program Files․
Verify Success:
Agent status shows as active in the Automation Engine (Client 0)․
Log files are successfully generated in the agent's temp folder․
Security folder is created in the bin directory upon startup․ This will happen after the Agent successfully connects to JCP.