[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)
- [Swarm-Support] SWARM-JAVA (Import?), Stephen Ongaro, 2005/11/22
- Re: [Swarm-Support] SWARM-JAVA (Import?), Marcus G. Daniels, 2005/11/22
- Re: [Swarm-Support] SWARM-JAVA (Import?), Stephen Ongaro, 2005/11/23
- Re: [Swarm-Support] SWARM-JAVA (Import?), Stephen Ongaro, 2005/11/23
- Re: [Swarm-Support] SWARM-JAVA (Import?), Marcus G. Daniels, 2005/11/23
- Re: [Swarm-Support] SWARM-JAVA (Import?), Stephen Ongaro, 2005/11/24
- [Swarm-Support] java.lang.NoClassDefFoundError: StartRuraltourism, Stephen Ongaro, 2005/11/24
- Re: [Swarm-Support] java.lang.NoClassDefFoundError: StartRuraltourism, Marcus G. Daniels, 2005/11/24
- Re: [Swarm-Support] SWARM-JAVA (Import?), Marcus G. Daniels, 2005/11/24