swarm-support
[Top][All Lists]
Advanced

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

javacswarm problems


From: Li An
Subject: javacswarm problems
Date: Tue, 01 Oct 2002 21:54:55 -0400

Dear Paul,

I don't know where to go to open the objective-c swarmapps and cd into the heatbugs directory. So I went to your second step:
$ export SWARMHOME=/usr (nothing came out and went back to prompt)
$ make
/usr/bin/javacswarm Heatbug.java HeatCell.java HeatSpace.java HeatbugModelSwarm.java HeatbugObserverSwarm.java StartHeatbugs.java HeatbugBatchSwarm.java

Found 2 System errors and issued 1 warning:

***Error: could not find package "java/util" in
                .
               /usr/share/swarm/swarm.jar
                 /usr/local/j2sdk1.4.0/jre/lib/rt.jar
                 .

*** Warning: The file " /usr/local/j2sdk1.4.0/jre/lib/rt.jar" is not a valid zip file

*** Error: could not find package "java/lang" in
.
/usr/share/swarm/swarm.jar
/usr/local/j2sdk1.4.0/jre/lib/rt.jar
.

make: ***[all] error 1.

Then I did the following and found:
$ eval javaswarm
_JAVASWARM_LIBPATH="/usr/lib/swarm::/usr/local/j2sdk1.4.0/jre/lib/"
LD_LIBRARY_PATH="/usr/lib:/usr/lib/swarm:/usr/X11R6/lib:"
CLASSPATH=".:/usr/share/swarm/swarm.jar:/usr/Share/swarm/kawa.jar:/usr/local/j2sdk1.4.0/jre/lib/rt.jar:"
export _JAVASWARM_LIBPATH LD_LIBRARY_PATH CLASSPATH

Last, I did the following:
$ rpm -qa | grep swarm
swarm-2.1.140.20020514-1
swarm-jdk-2.1.140.20020514-1
swarm-static-2.1.140.20020514-1
swarm-gcjswarm-2.1.140.20020514-1

That is what I got. Thank you very much.


Li









At 09:54 PM 9/30/2002 -0500, you wrote:
Hard to say what you are getting on rpmfind.net, but it is probably going to cause a lot of compile-time warnings that are harmless. the gcc3 packages I provide are patched to make the warnings go away, but you will see them if you use the stock packages. They are the warnings described here:

http://lark.cc.ku.edu/~pauljohn/SwarmFaq/SwarmOnlineFaq.html#2.4

Lets try to solve your problem in 2 steps.

First, please report what happens when you open the objective-c swarmapps and cd into the heatbugs directory and type

$ export SWARMHOME=/usr
$ make
$ ./heatbugs

If that does not run, we need to troubleshoot that first.

Second, consider the java side.  In jheatbugs, all you need to do is type

$ export SWARMHOME=/usr
$ make
$ javaswarm StartHeatbugs

If that does not work, tell me exactly what you see when you try. Cut and paste with the old highlight with the left button and paste with the middle button routine.

Also, tell me what you see if you do these things:

$ eval javaswarm
$ rpm -qa | grep swarm




Li An wrote:
Dear Paul,
I reinstalled the swarm rpm's and ran the program jheatbugs.java. I have the same problems as listed below in my last email. Actually, before I installed the swarm, I had installed the following that I downloaded from http://rpmfind.net (in this order) b/c I could not open Paul the website:
1. libgcc-3.0.4-1.i386.rpm
2. libgcj3-3.04-1.i386.rpm
3. gcc3-3.0.4-1.i386.rpm
4. hdf5-1.4.3-1RH73.i386.rpm
5. blt-2.4u-7.i386.rpm
6. gcc3-objc-3.0.4-1.i386.rpm.
Questions: (1) Are the above rpm's necessary? no conflicts?
(2) There are a few java files under home/anli/apps/jheatbug-2001-03-28 directory, which one I should I build first? Use "make filename.java" command?
Thanks,
Li

At 05:41 PM 9/30/2002 -0500, you wrote:

I can't figure out how you were able to install swarm without jikes.

Did you install swarm at all? I'm starting to suspect you did not.

In jheatbugs, you should type "make" to try to build it.




--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.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.


                 ==================================
  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]