Add new comment

The main startup class could not be found

I get the following error when i run the *.exe file only on Windows XP:  The main startup class could not be found

I don't use any libraries and the jar file contains only one main class which produces a text file.

I create the *.exe file with a licenced version (not trial) with Windows 7.

On Windows 7 runs without any problems. However on windows XP shows the above message.

I tried to create it by checking the XP manifest at the last screen of the wizard but it doesn't run also.

I tried not to encrypt and hide files and classes but i had no success either.

Is there anything else i can try?