This is the mail archive of the java-discuss@sources.redhat.com 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]

Problems compiling with gcj


Hi,

This should be a relatively straight forward question.
I have gcj installed (as part of gcc-2.95.2), and have
installed libgcj. Attempting to compile a trivial
program causes the following error:

[miko@mah21hpc2 src]$ gcj Test.java 
Test.java:0: Can't find default package `java.lang'. Check the CLASSPATH environment variable and the access to the archives.
1 error

I'm obviously not doing something simple, so any clues
would be of tremendous help!

Thanks,

/Mike


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