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: Diego Corredor
Subject: Re: [Swarm-Modelling] Problem in running the swarm tutorial.
Date: Thu, 17 May 2007 07:35:54 -0500

Dear Kavita,

It seems to me that you haven't installed swarm in your PC, or you are
not invoking it correctly (javacswarm), and that is why java is not
finding the javaswarm library in the path.

What you should do to solve the problem (if you have not installed the
javaswarm yet) is to download the javaswarm from the following link:

http://ftp.swarm.org/pub/swarm/binaries/w32/Swarm-2.2-java.zip

This zip file contains everything you need to run swarm applications
in your PC. You don't need to download anything else.

If you want to program in javaswarm, I highly recommend to use the
Eclipse environment. To learn how to set up the javaswarm and how to
download Eclipse check the following guide by Steve Lytinen and Steve
Railsback:

http://www.swarm.org/images/e/ec/How-to_use_JavaSwarm_in_Eclipse.pdf


Diego Corredor
Universidad del Rosario
Colombia

2007/5/17, Kavita Gangal <address@hidden>:
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




reply via email to

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