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

Posted by Wayne Rasband on
URL: http://imagej.273.s1.nabble.com/List-String-list-new-ArrayList-String-tp3703641p3703642.html

> 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