contact contact

JavaDLG on Windows: "Could not load the main class"


Title: JavaDLG on Windows: "Could not load the main class"
Document: 1014894889
Author: Roland Genske <rhg@marxmeier.com>
Keywords: java,dlg,jdlg,javadlg,windows,load,main,class

Q: When trying to start JavaDLG on Windows I get the error message "Could not find the main class. Program will exit". The path to the jdlgS.jar is correct and JavaDLG runs with exactly the same configuration on other Windows PCs in the same network without any problems. What is the problem?

A: Please check your display settings (right-click your desktop background, choose "Properties" and select the "Settings" pane). You probably have 16 colors configured. The SUN JavaVM, however, needs at least 256 colors to run. With 16 colors it will display the "Could not find the main class" message which is confusing in this context.

  Privacy | Webmaster | Terms of use | Impressum Revision:   
  Copyright © 1995-2002 Marxmeier Software AG