Print

Print


sorry, you're right. inside c:\ecj works.
 But  I can't set the env variable. Must I set just CLASSPATH or even Path?

--- Mar 16/11/10, Ian Barfield <[log in to unmask]> ha scritto:

> Da: Ian Barfield <[log in to unmask]>
> Oggetto: Re: problem launching tutorial1
> A: [log in to unmask]
> Data: Martedė 16 novembre 2010, 11:59
> Hey, I could be mistaken but it seems
> like you're having a class path problem.
> Try making sure C:\ecj\ is in your class path or running it
> from
> C:\ecj\ and pathing to the file.
> 
> Running it in the directory where Evolve.class is located
> won't work
> because it is looking
> for ec/Evolve.class, that is, the directory containing the
> folder 'ec'
> which contains Evolve.class.
> 
> Ian
> 
> On Tue, Nov 16, 2010 at 5:28 AM, Carlo Rossi <[log in to unmask]>
> wrote:
> > Hello,
> >  sorry to bother you with this apparently not-ECJ
> problem but at this point Java installation seems fine to me
> and I still can't launch the tutorial1 (and it worked months
> ago!) with this command:
> >  java ec.Evolve -file tutorial1.params
> >
> > The error is this:
> > C:\ecj\ec\app\tutorial1>java ec.Evolve -file
> tutorial1.params
> > Exception in thread "main"
> java.lang.NoClassDefFoundError: ec/Evolve
> > Caused by: java.lang.ClassNotFoundException:
> ec.Evolve
> >        at java.net.URLClassLoader$1.run(Unknown
> Source)
> >        at
> java.security.AccessController.doPrivileged(Native Method)
> >        at
> java.net.URLClassLoader.findClass(Unknown Source)
> >        at java.lang.ClassLoader.loadClass(Unknown
> Source)
> >        at
> sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >        at java.lang.ClassLoader.loadClass(Unknown
> Source)
> > Could not find the main class: ec.Evolve.  Program
> will exit.
> >
> >
> >  I tried even to launch it in the directory where
> Evolve.class is located. same error. Maybe somebody has very
> clear in mind where's the problem.
> >
> >  thanks.
> >
> >
> >
> >
>