Error "Could not find the main class - program will exit"

Document ID : KB000026322
Last Modified Date : 14/02/2018
Show Technical Document Details

Problem:

Error "Could not find the main class - program will exit"  on the ServiceDesk configuration while configuring Web Services.

 

Cause:

This happens when there are multiple java versions installed and the value of NtfsDisable8dot3NameCreation is incorrectly set.

 

Resolution:

Uninstall all the unsupported java versions and ensure that value for

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation is set to "0" which is the default.