You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jerry Qu <jl...@home.com> on 2001/05/07 09:42:56 UTC
question #
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