Print

Print


Hello everybody,

I tried to update to the latest version of ECJ (ECJ13), but have some
problems to get the GUI going :-(
Running the GUI console (ec.display.Console) is no problem, but using
the chart statistics makes problems. Unfortunately the instructions how
to install JFreeChart for ECJ are rather sparse (I didn't find any), so
here is what I did:

I downloaded JFreeChart and unpacked the jcommon-1.0.0.jar and
jfreechart-1.0.0.jar in the same place where the "ec" directory is. That
means I'm not using the jar files, but the individual class files.

 From the GUI console I select app/gui/ant.params and try to run it. The
following error message shows that ECJ finds all the necessary classes,
but seems to have a problem finding a method in org.jfree.data.xy.XYSeries

Any idea what I'm doing wrong ?

Many thanks,

                    Axel


===================================================================
| ECJ
| An evolutionary computation system (version 13)
| By Sean Luke
| Contributors: L. Panait, G. Balan, S. Paus, Z. Skolicki,
|               J. Bassett, R. Hubley, and A. Chircop
| URL: http://cs.gmu.edu/~eclab/projects/ecj/
| Mail: [log in to unmask]
|       (better: join ECJ-INTEREST at URL above)
| Date: June 25, 2005
| Current Java: 1.5.0_04 / Java HotSpot(TM) Client VM-1.5.0_04-b05
| Required Minimum Java: 1.2


Threads:  breed/1 eval/1
Seed: 4357
Setting up
Processing GP Types
Processing GP Node Constraints
Processing GP Function Sets
Processing GP Tree Constraints
Exception in thread "Thread-4" java.lang.NoSuchMethodError:
org.jfree.data.xy.XYSeries.<init>(Ljava/lang/String;)V
        at
ec.display.chart.ChartableStatistics.addSeries(ChartableStatistics.java:40)
        at
ec.display.chart.SimpleChartableStatistics.setup(SimpleChartableStatistics.java:26)
        at ec.Statistics.setup(Statistics.java:78)
        at ec.gp.koza.KozaStatistics.setup(KozaStatistics.java:82)
        at ec.EvolutionState.setup(EvolutionState.java:315)
        at
ec.simple.SimpleEvolutionState.startFresh(SimpleEvolutionState.java:42)
        at ec.display.Console$9.initializeEvolutionState(Console.java:817)
        at ec.display.Console$9.run(Console.java:873)
        at java.lang.Thread.run(Thread.java:595)