Login  Register

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

Posted by yeliang on Feb 21, 2006; 7:04am
URL: http://imagej.273.s1.nabble.com/List-String-list-new-ArrayList-String-tp3703641p3703646.html

Check Java Version: Windows Configuration -> Control Panel -> Java
Plug-in -> "About Java Plug-in" Tab.
If you use Eclipse to edit and compile ImageJ, follow this way to check your
config:
Window -> Preference -> Java -> Compiler

Good Luck.
----- Original Message -----
From: "zosh" <[hidden email]>
To: <[hidden email]>
Sent: Tuesday, February 21, 2006 4:55 AM
Subject: Re: List<String> list = new ArrayList<String>();


> 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
>>