Jcreator + java = mess

T

Thomas

I'm using Jcreator with java 1.4_2. I noticed that whenever I try to use any
interface I got: class not found. Under Eclipse everything is working fine.
What could be wrong ? For example the program :

************************
public class My_iterator implements Iterator<Student> {

public My_iterator(){};

public boolean hasNext(){return true;};

public Student next(){return new Student();};

public void remove(){};




*********************************

would return no such class iterable (or something I dont have JCreator and
hand now)
 
S

Seamus

I'm using Jcreator with java 1.4_2. I noticed that whenever I try to use any
interface I got: class not found. Under Eclipse everything is working fine.
What could be wrong ? For example the program :

************************
public class My_iterator implements Iterator<Student> {

public My_iterator(){};

public boolean hasNext(){return true;};

public Student next(){return new Student();};

public void remove(){};

*********************************

would return no such class iterable (or something I dont have JCreator and
hand now)

Just a guess - but 1.4.2 does not support generics.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,278
Latest member
BuzzDefenderpro

Latest Threads

Top