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

Document ID : KB000090210
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Could not find the main class: com.uc4.ucdf.UCDialogFactory. Program will exit
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.