Print

Print


Hi Travis,

This is a general question that applies to any Java program that you want
to run, so you may want to Google around.  Briefly, Java looks at an
environment
variable
<https://secure-web.cisco.com/1GCUQrhkhRHdvgReJlUefe17Zsa7ONL9S2XXix5Fnz07i1QQLqge_yp9bPTv5fkAYeI_elr4SKwePsGnPjoRNOqWg_0YxfVMBA6aF4QOIZDd9Ulg2QA1nsejDH6RTOXGQq7Uj3LDihMus2dhiu2Ge8YaL92s4x3Kcha0GLWPoGC8WMiw3XF1RGlaBlaMbcPJQjTR9BAG87ZcfDmrfmK3qYuSB9M-xNLc3iH1g9Mzr4X2h1ooR8xrpce2W-pP2kU-sdHYxZDyD0HWZqHZeKZsddy29cor6vsJN6G34y70RmtjrUMYlY7Ranm0gUmSXVomT2lvbEggZQ62j-DOnqVOOJ9mOVB1cBtwZzNsnNqVIXdhrPyC2kOt_GAbMoDhL4cHdi8LGABE-MpNJgl-badPtDRlAUK44VLovlddICILO1VY54ET_UKG3i_oFePrR5n6CcS9auyqOCcIEePASt2s42Q/https%3A%2F%2Fdocs.oracle.com%2Fjavase%2Ftutorial%2Fessential%2Fenvironment%2Fpaths.html>
to look for libraries and Java classes that you have installed.  When the
tutorial asks you to run a command like 'java ec.Evolve -file
tutorial4.params', it's assuming that you've already added the ECJ jar (and
the jars for its dependencies) to your CLASSPATH.

Thanks,
Siggy

On Sun, May 6, 2018 at 6:17 PM, Travis Atchison <[log in to unmask]> wrote:

> [log in to unmask]
>
>
> Hi everyone. I'm new to ECJ and I am encountering a problem that I was
> hoping I could get some help on. I have downloaded ECJ and am working on
> Tutorial 4 from https://cs.gmu.edu/~eclab/projects/ecj/docs/
> tutorials/tutorial4/index.html , but when I go to run the file on the
> command line it says that it either can't find the parameter file or it
> can't find ec.Evolve. I've talked to some friends and they said I needed to
> expand my classpath. Does anyone know what they mean by that and, if so,
> how I can do it? Also, I'm running this on Windows , if that is relevant.
> Thanks for listening to my concerns.
>
>
> Sincerely,
>
> Travis Atchison
>
> Tutorial 4: Build a Multivalued Genetic Programming ...
> <https://cs.gmu.edu/~eclab/projects/ecj/docs/tutorials/tutorial4/index.html>
> cs.gmu.edu
> Tutorial 4: Build a Multivalued Genetic Programming Symbolic Regression
> Problem In the fourth tutorial, we will use Koza-style GP to evolve
> solutions to a simple multivalued symbolic regression problem.
>
>


-- 

Ph.D student in Computer Science, George Mason University
Web Director, Journal of Mason Graduate Research
http://mason.gmu.edu/~escott8/