Re: Failed to load Main-Class manifest attribute from pollo.jar
Bruno Dumon <[email protected]> Mon, 08 Nov 2004 12:44:56 +0100
| Newsgroups | gmane.editors.pollo.devel |
|---|---|
| Organization | Outerthought |
| Message-ID | <[email protected]> |
On Mon, 2004-11-08 at 11:18 +0100, Mohamed CHAARI wrote: > Hello, > > I'm a new comer to this M.L > > I have a problem when running the pollo.jar file : > > > java -jar pollo.jar > > Failed to load Main-Class manifest attribute from pollo.jar > > - The CLASSPATH environment variable is set correctly. > - The platform is SunOS 5.8 > - My java version is : 1.4.2_05 > - The pollo version is 0.4 (last release) > > As a first attempt, I extracted the pollo.jar, added this line in the MANIFEST.MF file : > Main-Class: Pollo > and then re-created the archive and re-run ... this time, I had this error : > > Failed to load Main-Class manifest attribute from Pollo > > Can you help me to solve this kind of problem ... > > Regards Usually Pollo should be started using the pollo.sh script, or if that doesn't work on your platform, using the equivalent commands of what is contained therein. So don't use the -jar option but specify the class name (and also the endorsed library path). -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [email protected] [email protected] ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click