swarm-support
[Top][All Lists]
Advanced

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

Re: javaswarm - No such file or directory


From: Paul E Johnson
Subject: Re: javaswarm - No such file or directory
Date: Tue, 27 Mar 2001 16:57:17 -0600

> David Hayes wrote:
> 
> Hi,
> 
> I'm having problems installing Swarm onto a Windows 2000 machine.  I
> am installing it to the 'E' drive under 'E:\533\Swarm-2.1.1'.  I have
> searched the FAQ's but I am unable to find the problem/answer.
Last I checked, the FAQ said I always have trouble installing swarm
anywhere but C, but your mileage may vary!  Several users have claimed
it works for them, though.  I hate Windows, but some people like it, and
I try my best to help.

The fact that you have to create /tmp by hand is not a sign of trouble,
at least in the old cygwin days of Swarm. We always had to do that. It
is for certain bash won't create it for you. It seems to me the swarm
install does it, maybe MGD will know.

I'm assuming you ran the swarm install as the administrator? or a user?
are you using swarm under the same account in which you installed it? 
That is a significant source of confusion and trouble. 

On a win2000 system (not windows millenium edition, right, but the
actual win2000), you have to approach it like NT, and after you install
swarm, you adjust your environment and paths to make sure they are
right.  I think the faq has the environment stuff, the key is that your
path has to include the bin directory of swarm, cause that's where the
script "javaswarm" is.  Sometimes that is achieved by mounting the
swarm\bin directory as c:\bin, and then c:\bin is in the path.

> The problem occurs when I type 'javaswarm' at the bash shell... I get
> the message 'No such file or directory.' 

find where the file "javaswarm" is, and type the full path to it.  If
that works, then your paths are just bogus, that's probably the problem.
You can use the find command in the bash shell, or the windows
explorer's find tool to locate javaswarm.

In the shell, type "env" and watch the output. It will tell what path
the shell actually uses, it will help us to learn what is wrong.

Show us the output from the "mount" command, so we can diagnose further.

You should not be setting CLASSPATH in the environment for swarm. The
javacswarm and javaswarm scripts should do it for you.  That's one of
their most important jobs. You can open them with an editor to see.

The PATH you have below can't be complete. The second item looks wrong.
the output from env in the shell should tell us what it actually is.

> I assume it has something to
> do with my path settings, which are as follows:
> 
> HOME
>     E:\.;
> SWARMDIR
>     E:\533\Swarm-2.1.1;
> CLASSPATH
>     E:\533\Swarm-2.1.1\swarm.jar;
>     E:\533\Swarm-2.1.1\share;
>     E:\533\Swarm-2.1.1\bin;
>     E:\533\Swarm-2.1.1;
> PATH
>     E:\533\Swarm-2.1.1\bin;
>     E:\533\Swarm-2.1.1\javaswarm.dll
> 
> In addition, Kawa.jar and Swarm.jar are placed in the
> E:\533\Swarm-2.1.1 directory.  If it makes a difference, I had to
> create the 'tmp' directory myself because 'bash' was having problems
> creating it.
> 
> I'm sure most of the PATH's are overkill but I'm not sure where the
> problem is.  If anyone could offer some help, I would be grateful.
> 
> Thanks in advance.
> 
> David Hayes
> University of Calgary, Canada

-- 
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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