|Title: ||JavaDLG on Windows: "Could not load the main class"|
|Author: ||Roland Genske <firstname.lastname@example.org>|
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.