[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Running swarm with JDK 1.2.2
From: |
Gustavo Nucci Franco |
Subject: |
Running swarm with JDK 1.2.2 |
Date: |
Fri, 30 Mar 2001 14:48:27 -0300 |
I have tried to run the jheatbugs example with the JDK 1.2.2. The
compilation was successful, but when i try to run it with "javaswarm
StartHeatbugs.class" or "java StartHeatbugs.class" the following exception
error occurs:
java.lang.ClassNotFoundException: StartHeatbugs/class
at java.lang.Class.forName(Class.java:52)
The same happens with my own application of a DAI problem. Analyzing both
source codes, I inferred that the error is related to the swarm space object
mapping in the following lines of HeatbugObserverSwarm.java:
try {
heatbugDisplay = new Object2dDisplayImpl
(getZone (), worldRaster, heatbugModelSwarm.getWorld (),
new Selector (Class.forName ("Heatbug"), "drawSelfOn", false));
} catch (Exception e) {
System.err.println ("Exception drawSelfOn: " + e.getMessage ());
}
Why does it happen? As the problem is related to a java.lang class, is there
any incompatibility with JDK 1.2.2?
==================================
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.
- Re: Compiling swarm on solaris-8, (continued)
- Re: Compiling swarm on solaris-8, Huisman G, 2001/03/27
- Re: Compiling swarm on solaris-8, Huisman G, 2001/03/28
- Re: Compiling swarm on solaris-8, Marcus G. Daniels, 2001/03/28
- Re: Compiling swarm on solaris-8, Huisman G, 2001/03/29
- Re: Compiling swarm on solaris-8, Paul E Johnson, 2001/03/29
- Re: Compiling swarm on solaris-8, Marcus G. Daniels, 2001/03/29
- Re: Compiling swarm on solaris-8, Huisman G, 2001/03/30
- Re: Compiling swarm on solaris-8, Marcus G. Daniels, 2001/03/29
- Re: Compiling swarm on solaris-8, Huisman G, 2001/03/30
- Re: Compiling swarm on solaris-8, Marcus G. Daniels, 2001/03/30
- Running swarm with JDK 1.2.2,
Gustavo Nucci Franco <=
- Re: Running swarm with JDK 1.2.2, Marcus G. Daniels, 2001/03/30