List Info

Thread: could not find the main class




could not find the main class
country flaguser name
United States
2007-05-24 14:15:08

I have been using izpack for a year or so now w/o a problem.  But now when I build a new compiler it can’t be started because the manifest.mf doesn̵7;t have a listing to the main program.     ; What is causing this? ;  I also downloaded the latest version today and it has the same problem.

 

Inside the standalone compiler, there is a META-INF/manifest.mf that has the Main-Class: com.izforge.izpack.compiler.Compiler line

 

But when I do:

 

Izpack3/bin/compile install.xml –b . –o start.jar –k standard

 

I get a jar “start.jar̶1; that has a manifest.mf that doesn̵7;t have the “main-classR21; line.

 

What is causing that?

 

Thanks for your help

--jN

Re: could not find the main class
country flaguser name
United States
2007-05-29 14:26:36

Apparently by importing the jdbc driver for ms sql server 2005, it causes problems with the manifest.mf and there is no command-main-line in the final manifest.mf

 

 

 


From: izpack-users-bounceslists.berlios.de [mailto:izpack-users-bounceslists.berlios.de] On Behalf Of John Powers
Sent: Thursday, May 24, 2007 2:15 PM
To: izpack-userslists.berlios.de
Subject: [izpack-users] could not find the main class

 

I have been using izpack for a year or so now w/o a problem.  But now when I build a new compiler it can’t be started because the manifest.mf doesn̵7;t have a listing to the main program.     ; What is causing this? ;  I also downloaded the latest version today and it has the same problem.

 

Inside the standalone compiler, there is a META-INF/manifest.mf that has the Main-Class: com.izforge.izpack.compiler.Compiler line

 

But when I do:

 

Izpack3/bin/compile install.xml –b . –o start.jar –k standard

 

I get a jar “start.jar̶1; that has a manifest.mf that doesn̵7;t have the “main-classR21; line.

 

What is causing that?

 

Thanks for your help

--jN

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )