This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: Problems compiling with gcj
- To: Mike Harrold <mharrold at cas dot org>
- Subject: Re: Problems compiling with gcj
- From: Tom Tromey <tromey at redhat dot com>
- Date: 18 Jan 2001 21:16:30 -0700
- Cc: java-discuss at sources dot redhat dot com
- References: <200101190348.WAA00107@mah21awu.cas.org>
- Reply-To: tromey at redhat dot com
>>>>> "Mike" == Mike Harrold <mharrold@cas.org> writes:
Mike> [miko@mah21hpc2 src]$ gcj Test.java
Mike> Test.java:0: Can't find default package `java.lang'. Check the CLASSPATH environment variable and the access to the archives.
Mike> 1 error
This means that gcj can't find (for 2.95) libgcj.zip.
Did you install libgcj with the same --prefix as gcj?
If not then that is the problem.
If so we'll have to look further.
Tom