[hubicka@ucw.cz: Re: EH notes and split instructions]
Anthony Green
green@redhat.com
Thu Mar 7 07:13:00 GMT 2002
On Thu, 2002-03-07 at 06:33, Jan Hubicka wrote:
> Hmm, I feel ashamed to ask:
> bash-2.04$ ./jc1 -O2 EngineUtils.java
> EngineUtils.java:0: Can't find default package `java.lang'. Check the CLASSPATH
> environment variable and the access to the archives
> 1 error
jc1 is complaining that it can find the core class files. These are
installed as libgcj.jar. If you don't have this installed, and you have
it built in your build directory, use "jc1
-fclasspath=/path/to/libgcj.jar". If you don't even have it built, but
have a configured tree, you might be able to get away with "jc1
-fclasspath=/path/to/libjavasrc:/path/to/libjavabuild".
Thanks,
AG
More information about the Gcc-bugs
mailing list