ECJ-INTEREST-L Archives

November 2007

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Proportional Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael B Sullivan <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Fri, 30 Nov 2007 21:27:57 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (52 lines)
Hi All,

I'm sorry to waste anybody's time with a basic question, but I'm trying out ECJ16 for the first time today, and I've had trouble getting the tutorials to execute successfully.  The errors I get appear to be similar to ones that came up in an unresolved issue from 2006:

https://listserv.gmu.edu/cgi-bin/wa?A2=ind0609&L=ECJ-INTEREST-L&P=R187&I=-3

Tutorial #1 runs to completion, so something is working.  However, running tutorial2, tutorial3 or tutorial4 results in the following error:

	lfm@lfm-x61:~/install/ecj/ec/app/tutorial2$ java ec.Evolve -file tutorial2.params

	| ECJ
	| An evolutionary computation system (version 16)
	| By Sean Luke
	| Contributors: L. Panait, G. Balan, S. Paus, Z. Skolicki, R. Kicinger,
	|               J. Harrison, J. Bassett, R. Hubley, A. Desai, and A. Chircop
	| URL: http://cs.gmu.edu/~eclab/projects/ecj/
	| Mail: [log in to unmask]
	|       (better: join ECJ-INTEREST at URL above)
	| Date: March 20 2007
	| Current Java: 1.6.0 / Java HotSpot(TM) Server VM-1.6.0-b105
	| Required Minimum Java: 1.3


	Threads:  breed/1 eval/1
	Seed: 4357 
	Job: 0
	Setting up
	Initializing Generation 0
	Exception in thread "main" ec.util.ParamClassLoadException: 
	No class name provided.
	PARAMETER: pop.subpop.0.species.fitness
	        at ec.util.ParameterDatabase.getInstanceForParameter(ParameterDatabase.java:421)
	        at ec.Species.setup(Species.java:228)
	        at ec.vector.VectorSpecies.setup(VectorSpecies.java:146)
	        at ec.vector.IntegerVectorSpecies.setup(IntegerVectorSpecies.java:178)
	        at ec.Subpopulation.setup(Subpopulation.java:132)
	        at ec.Population.setup(Population.java:105)
	        at ec.simple.SimpleInitializer.initialPopulation(SimpleInitializer.java:46)
	        at ec.simple.SimpleEvolutionState.startFresh(SimpleEvolutionState.java:54)
	        at ec.EvolutionState.run(EvolutionState.java:376)
	        at ec.Evolve.main(Evolve.java:595)

I've tried using full pathnames of the parameter files to no avail.  I've also tried Java 1.4.2 (gcj) which resulted in the same error.  My CLASSPATH is configured to include the ecj main folder:

	lfm@lfm-x61:~/install/ecj/ec/app/tutorial2$ echo $CLASSPATH
	/home/lfm/install/ecj/

The problem is most likely with my configuration, but being unfamiliar with ECJ, I'm not sure where I should proceed from here.  Has anybody had any experience with this error since it last arose?

Thanks!
Mike

ATOM RSS1 RSS2