[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swarm-Support] Swarm on windows; (may be this is obsolete question)
From: |
Suman Kanuganti |
Subject: |
Re: [Swarm-Support] Swarm on windows; (may be this is obsolete question) |
Date: |
Tue, 19 Aug 2003 11:44:49 -0700 (PDT) |
In Linux to run swarm programs with java and javac I
use:
1) export PATH=/usr/java/j2sdk1.4.1_03:$PATH;
2) export
CLASSPATH=.:/usr/share/swarm/swarm.jar:/usr/share/swarm/kawa.jar:/usr/java/j2sdk1.4.1_03/src.zip
3) export
_JAVASWARM_LIBPATH=/usr/lib/swarm:/usr/java/j2sdk1.4.1_03/jre/lib
4) export
LD_LIBRARY_PATH=/usr/lib:/usr/lib/swarm/:/usr/X11R6/lib
then javac HeatBugs.java ... and java StartHeatBugs
works well fine as it is what javacswarm and javaswarm
tries to do.
Now if I wont execute line 3 and 4 above, it compiles
well but when I try to run it gives me an exception
error "no javaswarm in java.library.path"
Now coming to windows;
I got c:\Swarm-2.2 and
c:\j2sdk1.4.1_04 (I could'nt find a version of
j2sdk1.4.1_02)
Cygwin installed in c:\cygwin
mounted c:\Swarm-2.2 in /Swarm-2.2
mounted c:\j2sdk1.4.1_04 /j2sdk1.4.1_04
then,
export
PATH=/Swarm-2.2/lib:/Swarm-2.2/bin:/j2sdk1.4.1_04/bin:$PATH
export
CLASSPATH="c:\Swarm-2.2\share\swarm\swarm.jar;c:\Swarm-2.2\share\swarm\kawa.jar;c:\j2sdk1.4.1_04\src.zip;c:
\j2sdk1.4.1_04\jre\lib\rt.jar;c:\Documents and
Settings\Suman\HODCC"
export _JAVASWARM_LIBPATH="c:\Swarm-2.2\lib;
c:\j2sdk1.4.1_04\jre\lib"
export LD_LIBRARY_PATH="c:\Swarm-2.2\lib"
Now,
When I compile HeatBugs.java .. compiles successfully,
even all programs compile successfully,
Here the problem: when I run java StartFluModel I
result in an error "no javaswarm in java.library.path"
similar to the one when havent executed lines 3,4 in
linux though I have mentioned those in windows too.
So how does the java swarm libs in windows are linked?
Huhh, I am trying to figure out swarm in windows for
full day, overall windows has become heck to me now.
Is anyone running it successfully on windows.
I just need to a run a swarm program in windows, I
even dont need to compile them, I could supply jars
and
whatever, I tried packaging it and made an windows
executable using install4j, everything seemed fine and
again I resulted the same error of an exception with
no javaswarm java.library.path and so the problems
with the javaswarm libs;
I can execute it remotely through ssh using an X
server for windows but Could anyone help me in just
executing that program in windows?
Thanks a million,
Suman K
--- "Marcus G. Daniels" <address@hidden> wrote:
> Suman Kanuganti wrote:
>
> >I am trying to get swarm working on windows; I
> >downloaded windows version of swarm from
> >ftp://ftp.swarm.org/pub/swarm/binaries/w32/ . I
> also
> >downloaded jheatbugs and tried to make it, it was
> done
> >and when I ran >javaswarm StartHeatbugs I get the
> >ProcCtrl and just hangs, the program wont start and
> it
> >wont respond, I have to force quit it.
> >
> I guess you are talking about pretest 8? If not,
> get that. 2.1.1 is
> not supported, and is obsolete with regard to
> compatibility with new
> Cygwin and Sun JDK. If so, perhaps the symptoms you
> see are different
> on your system for some reason. You can try to
> make it work by adding a
> "Globals.env.updateDisplay ()" after "pack" calls
> and perhaps other GUI
> calls. Figuring out where is a matter of tracking
> the setup of
> HeatbugModelSwarm and HeatbugObserverSwarm either
> using jdb or
> System.out.println -- moving forward until it hangs
> or exits (add the
> updateDisplay call at that point). Also, with Sun
> JDK 1.4.1_04 I've had
> problems reading the swarm.jar file (of all things).
> Unpacking it and
> using a CLASSPATH to the unpacked directory (the
> directory above
> "swarm") may also be needed.
>
> _______________________________________________
> Support mailing list
> address@hidden
> http://www.swarm.org/mailman/listinfo/support
=====
Suman Kanuganti,
Swarm Group, Anth Dept.,
University of Missouri, Columbia.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com