swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] Running swarm java version


From: Marcus G. Daniels
Subject: Re: [Swarm-Support] Running swarm java version
Date: Tue, 14 Apr 2009 12:04:08 -0600
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Hi Alan,
When executing executable jar file i receive: "Failed to load Main-Class manifest attribute from C:\Swarm-2.2-java\share\swarm\swarm.jar". This is because the name of the main class does not appear at the maniphest file. I have tried with classes such as SwarmEnvironment* at swarm package, but neither of these are the application's entry point. Does any one know which class is the entry point, that is: which is the class with the main public static method? Thank you in advance,
The main entry point will actually be in your simulation, which will in turn invoke swarm.Global.env.initSwarm (from the jarfile). See one of the examples like jheatbugs or jmousetrap for an example..

cheers,

Marcus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]