While following instruction for adding USS server to cluster :
Add a Server to the Cluster
Follow these steps:
Stop the Unified Self-Service services on node 1.
Create backup of node 1:
Navigate to the <uss-installation-directory>/bin folder and execute the TakeBackup.bat file.
the following error was seen:
Error: Could not find or load main class com.ca.OpenSpaceOnPremises.TakeBackupOpenSpace
Release : 17.2
Component : CA UNIFIED SELF-SERVICE FOR SERVICE MGMT
The script TakeBackup.bat needs to point at a valid JRE or JDK to execute. If the one in your USS Tomcat folder has been removed, then it will fail.
The file reads (for example)
SET JAVA_HOME=C:\Program Files\CA\Self Service\OSOP\tomcat-7.0.40\jre
SET PATH=C:\Program Files\CA\Self Service\OSOP\tomcat-7.0.40\jre\bin;%PATH%
Amending this to a valid JRE path will solve the problem.