JAR FILE

Hi All.

I have an application which has a MainPage class that is the entry point of the program. I have created a MANIFEST file and specified this file, but I still have the error:

couldn't find the main class: Program will exit!

My MainPage class contains many anynomous inner classes, shall i add these classes too to the Manifest file?

Please Help

Thanks

[402 byte] By [jotnartaa] at [2007-10-3 9:53:44]
# 1
Your manifest has an incorrect main-class attribute, I bet. Missing or wrong package? Typo? Incorrect manifest file inside the JAR?> shall i add these classes too to the Manifest file?No.
CeciNEstPasUnProgrammeura at 2007-7-15 5:11:23 > top of Java-index,Java Essentials,Java Programming...
# 2
No Buddy, I put it like following:Main-Class: reportsearch.MainPageand then i give a carrieage returnMessage was edited by: jotnarta
jotnartaa at 2007-7-15 5:11:23 > top of Java-index,Java Essentials,Java Programming...
# 3

> No Buddy, I put it like following:

>

> Main-Class: reportsearch.MainPage

>

> and then i give a carrieage return

And is the file inside the JAR like that? And is the package structure inside the JAR like that, too? And Is the class file actually in there?

CeciNEstPasUnProgrammeura at 2007-7-15 5:11:23 > top of Java-index,Java Essentials,Java Programming...