Hi All,

I have tomcat installed on linux with jdk 1.1.6 and have some problems.

when tried to compilering java classes:
1) I get error: class  ArrayList not found in type declaration
2) when I use package like:


                in a.java
                        package PACK;
                        ...
                        public class a...

                in b.java
                        package PACK;
                        ...
                        public class b...
                        private a ac = null;

        and put a.java and b.java under PACK/
                javac a.java ....OK
                but javac b.java got error:
                        class PACK.a not found in type declaration.

Is this due to the version of jdk and jdk 1.2 or up is needed to support
ArrayList and package ?

TIA

Jerry





Reply via email to