Login  Register

Re: List<String> list = new ArrayList<String>();

Posted by Zosh S on Feb 20, 2006; 8:55pm
URL: http://imagej.273.s1.nabble.com/List-String-list-new-ArrayList-String-tp3703641p3703643.html

Thanks very much, Wayne.
I did download the 1.34 version, bundled with JRE 5.0 3; it didn't make any
difference. How can I check which Java version is on? is there some
configuration settings? can I set some compiler flags (such as -source
1.5)...?
Thanks
Zeev

----- Original Message -----
From: "Rasband Wayne" <[hidden email]>
To: <[hidden email]>
Sent: Monday, February 20, 2006 9:21 PM
Subject: Re: List<String> list = new ArrayList<String>();


>> This does not compile on ImageJ (on Winxp). Apparently the compiler
>> is not 1.5 compatible. I've seen a recommendation of compiling
>> with "-source 1.5", but failed to see how this can be done in ImageJ.
>> Any ideas?
>
> You need to install the version of ImageJ for Windows that is bundled
> with Java 5.0_3. Or install the J2SE 5.0 JDK from <http://
> java.sun.com/j2se/1.5.0/download.jsp> and then the Windows version of
> ImageJ that does not include a bundled Java.
>
> -wayne
>