|
From: | jin ding |
Subject: | [Swarm-Modelling] some problems with swarm |
Date: | Thu, 19 May 2011 02:38:03 +0800 |
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 |
[Prev in Thread] | Current Thread | [Next in Thread] |