This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
problems resolving classes with gcj 3.4.3 - know problem?
- From: "wolfgang haefelinger" <ora dot et dot labora at web dot de>
- To: <java at gcc dot gnu dot org>
- Date: Fri, 10 Dec 2004 14:26:25 +0100
- Subject: problems resolving classes with gcj 3.4.3 - know problem?
Hello,
I'm trying to compile a larger number (=209) of java
files in one shot. This works fine using SUN's jdk
but I'm running into trouble using gcj.
Here's a typical session
$ gcj -d . -C `find -name \*.java`
./debug/ParseTreeDebugParser.java:8: error: Can't find default package
`antlr'.
Check the CLASSPATH environment variable and the access to the archives
[..]
Well, it's not a CLASSPATH problem as all classes re-
quired to compile a given on the command line (except
java.lang.* of course).
The compiler complains especially about generic import
statements like
import antlr.*;
Going to replace then "import.antlr*;" with the ones
really used is working fine.
Is this problem known?
Cheers,
Wolfgang.