[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jipd-grid-0.0.1 error
From: |
Pietro Terna |
Subject: |
Re: jipd-grid-0.0.1 error |
Date: |
Sun, 04 Feb 2001 23:37:15 +0100 |
At 16.20 01/02/2001 -0800, you wrote:
>>>>> "PT" == Pietro Terna <address@hidden> writes:
PT> from the Swarm terminal I enter:
PT> address@hidden/Swarm-2.1.1/jipd-grid-0.0.1] $ export
PT> CLASSPATH="/jdk1.2.2/jre/lib/rt.jar"
You don't need to do this. javaswarm, jdkswarm, javacswarm, and jdkcswarm
all should set what needs setting.
PT> address@hidden/Swarm-2.1.1/jipd-grid-0.0.1] $ make
PT> CLASSPATH="ptolemy.plot.jar;/jdk1.2.2/jre/lib/rt.jar"
PT> /Swarm-2.1.1/bin/javacswar m ObserverSwarm.java
Drop your CLASSPATH setting and change "javacswarm" and "javaswarm" to
"jdkcswarm" and "jdkswarm". You'll need Sun JDK to do Swing things and
the former commands give you Kaffe on Windows.
I know, I know, I'm absolutely boring ...
I've changed the line of Makefile in jipd-grid-0.0.1
FROM
all: $(JAVA_SRC)
CLASSPATH=ptolemy.plot.jar:$(CLASSPATH)
$(SWARMHOME)/bin/javacswarm $(JAVA_SRC)
TO
all: $(JAVA_SRC)
CLASSPATH="ptolemy.plot.jar;$(CLASSPATH)"
$(SWARMHOME)/bin/jdkcswarm $(JAVA_SRC)
and now
address@hidden/Swarm-2.1.1/jipd-grid-0.0.1] $ make
CLASSPATH="ptolemy.plot.jar;" /Swarm-2.1.1/bin/jdkcswarm Location.java
ObserverSwarm.java PrisonerException.java SwarmRaster.java Main.java
Payoffs.java Strategy.java ModelSwarm.java Prisoner.java StrategyGrapher.java
StrategyGrapher.java:11: Class ptolemy.plot.Plot not found in import.
import ptolemy.plot.Plot;
^
StrategyGrapher.java:12: Superclass ptolemy.plot.Plot of class
StrategyGrapher not found.
public class StrategyGrapher extends Plot {
^
ObserverSwarm.java:56: Method getClass() not found in class StrategyGrapher.
(graph, new Selector(graph.getClass(),
^
3 errors
make: *** [all] Error 1
:-( Pietro
==================================
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.