ArrayList - JDK compatability?

Hi folks

I am trying to initilize & execute a basic ArrayList, when I try to compile it's throwing following error is that because of the JDK version?

%> :Class ArrayList not found in type declaration.

private ArrayList Observer;

Right now I am using JDK1.1.8 is there any latest version available...

Thanks

LORD

[363 byte] By [LORDa] at [2007-11-27 6:24:36]
# 1
ArrayList was introduced in JDK 1.2, so probably, yeah it's the JDK version.The latest JDK version is 1.6.something. It's time to upgrade if you can.
paulcwa at 2007-7-12 17:43:37 > top of Java-index,Java Essentials,New To Java...
# 2
If you're stuck with 1.1.8 I seem to remember there was an implementation of the Collections framework available for it somewhere on this site, sorry don't know where.
ejpa at 2007-7-12 17:43:37 > top of Java-index,Java Essentials,New To Java...
# 3
Hi guysThank you very much, I tried JDK 1.6, it's work fine..... and I also planning to give a try implementing collection framework for JDK 1.1.8- if work I will let you people know....ThanksLORD
LORDa at 2007-7-12 17:43:37 > top of Java-index,Java Essentials,New To Java...