After upgrading java, the java based processes such as the JWP, JCP, and REST but also the agent such as the Windows and Unix Agent (that utilize java in v24), are unable to start.
Trying to start the agent with the --console command returns this.
Example:
ucxjwx6.exe --console
Output:
Launcher process 17772 started
Press ENTER key to start...
C:\automic\Windows_24\bin is the current working directoryChecking if path C:\automic\Windows_24\bin\smgr_deployment.txt exists... No (The system cannot find the file specified.)C:\automic\Windows_24\bin is the current working directoryAttempting to delete file C:\Users\A-MALLITX\Downloads\Windows_24\bin\access_test.txt... DeletedChecking if path C:\Users\A-MALLITX\Downloads\Windows_24\bin\jre.zip exists... No (The system cannot find the file specified.)Checking if path C:\automic\Windows_24\bin\ucxjoss_run.jar exists... YesThe epoch mtime of C:\automic\Windows_24\bin\ucxjoss.jar in ms is 1766163640The epoch mtime of C:\automic\Windows_24\bin\ucxjoss_run.jar in ms is 1766163640Checking if path C:\automic\Windows_24\bin\jre exists... No (The system cannot find the file specified.)JAVA_HOME identified as: C:\Program Files\Eclipse Adoptium\jdk-17.0.16.8-hotspot;>Command execution failed with return code: 1<
That semicolon is causing issues.
It is showing like this on your system.
And this is how it should look like.
Delete the entry for this JAVA_HOME, then re-add it. If a semi colon at the end of it, it will turn the system variable into list mode (which you do not want).
In order for it to take effects, you have to reboot it.