ECJ-INTEREST-L Archives

August 2005

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text 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:
Peter Day <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Sat, 13 Aug 2005 04:37:53 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (70 lines)
have you set CLASSPATH properly?
if you're unsure check out the Java section at:
http://www.dynamic-apps.com/tutorials/classpath.jsp

alternatively download the eclipse environment from
www.eclipse.org

and set up ECJ as a project - it works very well once you have set up
the run parameters correctly and make coding and debugging a LOT faster.


chinmay desai wrote:

> Dear sir , i am not being able to locate the file in which main
> function is defined, because whenever i try to complit code on windows
> i get following erro message" Exception in thread "main"
> java.lang.NoClassDefFoundError: ec/Evolve/class".
> is that error has to do anything with main function, because with
> source code there is no file like ec.java.
> is it needed to make package name ec and i have to add all class files
> in to that.
>
> sorry for these basic question , because i am totally novice to the
> java and aslo confused from where to start.
>
> On 8/6/05, *chinmay desai* < [log in to unmask]
> <mailto:[log in to unmask]>> wrote:
>
>     Thanks
>
>     On 8/6/05, *Sean Luke* <[log in to unmask] <mailto:[log in to unmask]>>
>     wrote:
>
>         Chinmay, you have not added the 'ec' directory to your CLASSPATH.
>
>         On Aug 5, 2005, at 11:32 PM, chinmay desai wrote:
>
>> *** Semantic Error: You need to modify your classpath,
>         sourcepath,
>> bootclasspath, and/or extdirs setup. Jikes could not find
>         package
>> "java.lang" in:
>
>
>
>
>     --
>     Mr.Chinmay K. Desai,
>     Lecturer Mechnical Engineering Department at C.K.P.CET ,SURAT,
>     11,Suruchi Society,Near Jamana Nagar Society,Near St'Xavier's High
>     school,
>     Ghod-dod Road,Surat-395001,State-Gujarat,INDIA.
>
>
>
>
> --
> Mr.Chinmay K. Desai,
> Lecturer Mechnical Engineering Department at C.K.P.CET,SURAT,
> 11,Suruchi Society,Near Jamana Nagar Society,Near St'Xavier's High
> school,
> Ghod-dod Road,Surat-395001,State-Gujarat,INDIA.



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.7/70 - Release Date: 11/08/2005

ATOM RSS1 RSS2