swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] SWARM-JAVA (Import?)


From: Marcus G. Daniels
Subject: Re: [Swarm-Support] SWARM-JAVA (Import?)
Date: Wed, 23 Nov 2005 07:19:16 -0700
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Stephen Ongaro wrote:

I set the classpath variable to include c:\Tourism\swarm\Swarm-2.2\share\swarm\*.jar but Java still indicates that '/package swarm does not exist/' . How can this problem be resolved?

From the DOS command line (not Cygwin), it should look like this:

set CLASSPATH=.;c:\Tourism\swarm\Swarm-2.2-java\share\swarm\swarm.jar;c:\Tourism\swarm\Swarm-2.2-java\share\swarm\kawa.jar

Then simply use "java YourModel" to run, not "javaswarm YourModel". Note the name "Swarm-2.2-java" in the directory name, which is how it was released in the final 2.2 release. (You may have a prerelease.)

Also, you'll need SWARMHOME set, like so:

set SWARMHOME=c:/Tourism/swarm/Swarm-2.2-java

(this is assuming you in fact unpacked the distribution in c:\Tourism\swarm)





reply via email to

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