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: durga bhavani
Subject: Re: [Swarm-Modelling] Problem in running the swarm tutorial.
Date: Fri, 25 May 2007 18:16:01 +0100 (BST)

Hello Kavitha,
 
If you are looking for one in Java Here is a Example
 
http://www.sx.ac.uk/ccfea/Software/swarm/SwarmTutorial/web/swarm_tutorial.htm
 
 
Regards,


Kavita Gangal <address@hidden> wrote:
Hi everyone,
As per Diego's suggestion i have installed Eclipse environment.
I have also tried to run the SimpleJavaBug application (second step in the Java tutorial  mentioned in the previous mails).
The application compiles very nicely. but while running; after the 100 iterations of the for loop it gives me the following error:

(Tcl -eval:) couldn't read file "E:swarmSwarm-2.2-java/lib/tcl8.4//word.tcl": no such file or directory
    while executing
"source E:\swarm\Swarm-2.2-java/lib/tcl8.4//word.tcl"
while evaluating: source E:\swarm\Swarm-2.2-java/lib/tcl8.4//word.tcl

 If you'll check out the first line of the error, you'll see that there are no backslashes in between the directories there.
can anyone tell me why this error is occurring and how to remove it?

Thanks and Regards,
Kavita Gangal
--
TIFR


On 5/17/07, Marcus G. Daniels <address@hidden> wrote:
Kavita,
> I have already installed the java-swarm from the link which you have
> provided.
> But it doesn't seem to have any file with name javacswarm..
> I tried it again. But doesn't seem to work..
There are three things that need to be set:

1) The PATH must include the bin/ subdirectory where the file
javaswarm.dll resides.
2) The CLASSPATH must include both swarm.jar and kawa.jar
3) SWARMHOME needs to be set to the top of your unpacked distribution.
Use forward slashes in this setting.

Then you just use "java SomeDemo" to start. The javacswarm/javaswarm
just set these on Unix, but the Windows distribution doesn't include
them because Swarm for Java on Windows no longer uses Unix support
(Cygwin).
_______________________________________________
Modelling mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/modelling

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

Send instant messages to your online friends http://uk.messenger.yahoo.com


reply via email to

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