This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]