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

Cecilia Vargas C.A.Vargas at kent.ac.uk
Sun Dec 2 09:13:02 GMT 2007


Jakub,

To find out which Java version BlueJ is running do:  Help menu >> About 
BlueJ.

Or look in the bluej-debuglog file in the bluej folder in your home 
directory.

Cecilia

Bryan J. Higgs wrote:
> Jakub --
>
> It's possible to have more than one Java Development Kit installed on a
> system at the same time.
> (Note you need the JDK, not just the JRE, the Java Runtime Environment.)
>
> You have to tell BlueJ which JDK to use.  In the folder where the BlueJ
> executable is installed, you should also see an executable called
> "Select VM".  If you run that, it will list the versions of JDK it has
> found, and will allow you to choose one of them.  Be sure that you
> choose one that is at least at v1.5 .  Probably you should choose the
> highest version number on your machine.
>
> I see this on my Windows system.  I think it should also be the case for
> other systems, but I'm not sure, not having any other systems to work on.
>
> I hope this solves your problem!
>
> Regards
>
> Bryan
>
> Jakub Horbacewicz wrote:
>   
>> Hello,
>>
>>
>>     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.
>>
>>
>> Unfortunately I use 1.6.0... (Java Version 6 Update 3) so I cannot
>> find out what the problem is...
>>  
>>
>>     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
>>     <mailto:bluej-discuss at bluej.org>
>>     > To unsubscribe or change your preferences, go to
>>     > http://lists.bluej.org/mailman/listinfo/bluej-discuss
>>     <http://lists.bluej.org/mailman/listinfo/bluej-discuss>
>>
>>     _______________________________________________
>>     mailing list bluej-discuss at bluej.org <mailto:bluej-discuss at bluej.org>
>>     To unsubscribe or change your preferences, go to
>>     http://lists.bluej.org/mailman/listinfo/bluej-discuss
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> mailing list bluej-discuss at bluej.org
>> To unsubscribe or change your preferences, go to
>> http://lists.bluej.org/mailman/listinfo/bluej-discuss
>>   
>>     
> _______________________________________________
> 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