swarm-modeling
[Top][All Lists]
Advanced

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

Re: [Swarm-Modelling] some problems with swarm


From: jin ding
Subject: Re: [Swarm-Modelling] some problems with swarm
Date: Thu, 19 May 2011 07:48:02 +0800

Hi:
 
thank you so much for your reply.
 
i have set the CLASSPATH and added swarm jar and kawa jar. 

it seems very strange that i can run the version of jheatbug-2001-03-28, but when i tried to save the result (click the SAVE on the control panel), ECLIPSE warned 'the application has requested the Runtime to terminate it in an unusual way' & 'Java(TM) platform SE binary has stop working'. 

i can not run the version of jheatbug-2.1.  The console of HEATBUG is
'Exception in thread "main" java.lang.Error: Unresolved compilation problem:
 The constructor FArgumentsImpl(HeatbugModelSwarm, Selector, boolean) is undefined
 at HeatbugModelSwarm.buildActions(HeatbugModelSwarm.java:298)
 at HeatbugObserverSwarm.buildActions! ! ! (HeatbugObserverSwarm.java:301)
 at StartHeatbugs.main(StartHeatbugs.java:29)'

i am quite confusing.
 
 
Many thanks.
 
Cheers
 
Yvonne

Date: Wed, 18 May 2011 12:51:40 -0700
From: address@hidden
To: address@hidden
Subject: Re: [Swarm-Modelling] some problems with swarm

It seems that you didn't set the CLASSPATH of JDK. And you also need to add swarm jar into your project and import them. Just google it and you may find the answer. Good Luck!

2011/5/18 jin ding <address@hidden>
 
Dear :
 
i am a PhD student using SWARM to build a multi-agent based model.  i met some problem when i run my own programme.
 
the system i use is windows 7, i downloaded and installed the JAVA JDK1.6.250, ECLIPSE and set the java environment(SWARMHOME, JAVA_HOME, LD_LIBRARY_PATH, LTDL_LIBRARY_PATH, PATH, SWARMDIR).
 
when i run my own programme, ECLIPSE warned 'the application has requested the Runtime to terminate it in an unusual way' & 'Java(TM) platform SE binary has stop working'.
 
by the way, ECLIPSE can not run the sample program HEATBUG and MOUSETRAP.
 
 
The console of HEATBUG is
'Exception in thread "main" java.lang.Error: Unresolved compilation problem:
 The constructor FArgumentsImpl(HeatbugModelSwarm, Selector, boolean) is undefined
 at HeatbugModelSwarm.buildActions(HeatbugModelSwarm.java:298)
 at HeatbugObserverSwarm.buildActions! ! ! (HeatbugObserverSwarm.java:301)
 at StartHeatbugs.main(StartHeatbugs.java:29)'
 
 
The console of MOUSETRAP is
'Exception in thread "main" java.lang.Error: Unresolved compilation problems:
 The constructor UniformDoubleDistImpl(Zone, Object, double, double) is undefined
 The constructor UniformIntegerDistImpl(Zone, Object, int, int) is undefined
 The constructor UniformUnsignedDistImpl(Zone, Object, int, int) is undefined
 at Mousetrap.<init>(Mousetrap.java:42)
 at MousetrapModelSwarm.buildObjects(MousetrapModelSwarm.java:145)
 at MousetrapObserverSwarm.buildObjects(MousetrapObserverSwarm.java:134)
 at StartMousetrap.main(StartMousetrap.java:19)' 
 
 
i want to know whether i install the swarm and eclipse correctly.
what's the problem of my program?
 
i am looking forward for your reply.
 
 
Thank you so much

yvonne!
 


_________________________________ ______________
Modelling mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/modelling




--
Best,
Zhenghui
WSU Collective System Lab
Pullman, WA 99163


_______________________________________________ Modelling mailing list address@hidden http://www.swarm.org/mailman/listinfo/modelling

reply via email to

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