000029539 - Error running  RSA runConnectionManager.bat: Could not find or load main class IM

Document created by RSA Customer Support Employee on Sep 21, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000029539
Applies ToRSA Product Set: Security Management - SA IM
Platform: Windows
IssueReceiving the below error while running the SA IM - runConnectionManager.bat.
Error: Could not find or load main class IM

User-added image
ResolutionIt is possibly a JAVA_HOME environment variable issue caused by spaces in the directory path (such as Program Files).
If the default path is not being used, edit the batch file and encase the -Dconfig.dir location in double-quotes (").
java -cp .;../config;lib\* -Dconfig.dir="C:/PROGRAM FILES/EMC/RSA/SOME DIRECTORY/config" -Dlog4j.configuration=connectionManager-log4j.xml com.rsa.vrm.collector.client.CommandLineClient

Another option is to edit the batch file and modify the -Dconfig.dir location.  Use the tilde (~) symbol to remove the spaces from the default path.
java -cp .;../config;lib\* -Dconfig.dir=C:/PROGRA~1/EMC/RSA/SAIMIN~1/config -Dlog4j.configuration=connectionManager-log4j.xml com.rsa.vrm.collector.client.CommandLineClient

 

Attachments

    Outcomes