This is the mail archive of the
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)
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.
I'm obviously not doing something simple, so any clues
would be of tremendous help!