This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Problems compiling with gcj
- To: java-discuss at sources dot redhat dot com
- Subject: Problems compiling with gcj
- From: Mike Harrold <mharrold at cas dot org>
- Date: Thu, 18 Jan 2001 22:48:12 -0500 (EST)
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