swarm-modeling
[Top][All Lists]
Advanced

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

Re: [Swarm-Modelling] Problem in running the swarm tutorial.


From: paul box
Subject: Re: [Swarm-Modelling] Problem in running the swarm tutorial.
Date: Thu, 17 May 2007 21:53:17 +0930

Hi Kavita

I don't use Java much and have not used the windows version of swarm
in a few years.  But: don't you need 'javacswarm' to compile, rather
than javac?  If I remember correctly, javacswarm has all the
environment variables set to find javaswarm etc.

Paul

On 5/17/07, Kavita Gangal <address@hidden> wrote:
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"?

--
Kavita Gangal
TIFR

address@hidden
+91-22-22782350

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




--
//////////////////////////
// Paul Box
// Alice Springs, NT  Australia
//


reply via email to

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