search cancel

Could not find the main class: com.uc4.ucdf.UCDialogFactory. Program will exit

book

Article ID: 90210

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Could not find the main class: com.uc4.ucdf.UCDialogFactory. Program will exit

Environment

Release: AOATAM99000-9.0-Automic-One Automation Tools-Application Manager
Component:

Resolution

Detailed Description and Symptoms

When starting the UserInterface, a splash screen shows the error message:

 
Could not find the main class: com.uc4.ucdf.UCDialogFactory. Program will exit

 

 


Investigation

Usually this relates to the version of Java installed on your local machine (from where you are starting the UI).


Solution

To point the UI to the correct version of Java, edit the UCDJ.ini file to look like this:

cmd="<full path to a 64-bit java>\javaw" -Xmx256m com.uc4.ucdf.UCDialogFactory -U%User%

 

 
 

 

Where the <full path to a 64-bit java> is something like "C:\Program Files\Java\jre6\bin"
 
You can also set the correct version of Java as the first line in your PATH in the environment variables.
 
If neither of these solutions work, there have been cases where a new download of the UI from downloads.automic.com and a reinstall has resolved the problem.