This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [hubicka@ucw.cz: Re: EH notes and split instructions]


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



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