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: zh sha
Subject: Re: [Swarm-Modelling] some problems with swarm
Date: Wed, 18 May 2011 12:51:40 -0700

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


reply via email to

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