[Swarm-Modelling] Problem in running the swarm tutorial.
From:
Kavita Gangal
Subject:
[Swarm-Modelling] Problem in running the swarm tutorial.
Date:
Thu, 17 May 2007 17:12:55 +0530
Hello everyone, I am Kavita Gangal working at the Tata Institute of Fundamental Research, Mumbai, India. I need to learn swarm. I am working on Windows-XP platform.
I need to know the following:
1. Whether i can run the swarm applications on Windows-XP without using Cygwin.
2.I went through the jSIMPLEBUG: a Swarm tutorial for java (By Charles P. Staelin, Smith College, Northampton, MA) (which is based on the ObjectiveC
code and original text by Chris Lanton & swarm development team at SantaFe Institute, NM.) which can be found at the following Link:
http://eco83.econ.unito.it/swarm/materiale/jtutorial/JavaTutorial.zip
I tried to compile and run two simple applications of the SimpleBug: a.)SimpleCBug/StartSimpleBug.java and b.)SimpleJavaBug/StartSimpleBug.java
using standard java commands i.e. javac and java The compilation goes without any problem. i.e. javac works and creates class file StartSimpleBug.class ; But when i try to run the output with the command "java StartSimpleBug" at the commandline then it gives an error saying:
E:\java_examples>java StartSimpleBug Exception caught: no javaswarm in java.library.path Exception in thread "main" java.lang.UnsatisfiedLinkError: createBegin at swarm.SwarmEnvironmentCImpl.createBegin
(Native Method) at swarm.Globals.<clinit>(Globals.java:39) at StartSimpleBug.main(StartSimpleBug.java:19)
Can someone please explain me the error? and also give a solution on how to eliminate it? what is "javaswarm"?