Print

Print


I'm sorry, but this is a very general java question and is probably out of scope for this email list.

Sean

On Sep 3, 2015, at 12:56 PM, Atm Golam Bari <[log in to unmask]> wrote:

> I am trying to build .jar  for my application. So, I put the line, Main-Class: ec.Evolve , in manifest file
> and added all of my application's classes as well as Evolve.class while executing jar command.
> The jar is created successfully but when I execute java -jar myApp.jar I get the following error like- "Could not load Main Class".
> I can't figure out what to do. Do I need to include all the *.class files of ECJ in myApp.jar?
> 
> Thanks in advance,
> -Bari