[Bluej-discuss] import java.util.*; - problem

Michael Kölling M.Kolling at kent.ac.uk
Sat Dec 1 19:07:06 GMT 2007


The code shown requires Java 5.

My guess is that you have Java 1.4 (or earlier) installed. It won't  
work with that version. You should download and install a newer Java  
version.

Michael


On 1 Dec 2007, at 18:12, Jakub Horbacewicz wrote:

> Hi,
>
> I read Object First in Java and I do the excercise no 1-19 (lab- 
> classes). Unfortunately while compiling the LabClass class, BlueJ  
> show me that "<identifier> expected" in line:
>
> private List<Student> students;
>
> Is it connected with import java.util.*; (it's look like BlueJ do  
> not understand this statement...)
>
> Help me
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss



More information about the bluej-discuss mailing list