This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: darwin and java status
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- To: Andreas Tobler <toa at pop dot agri dot ch>
- Cc: GCC-Java <java at gcc dot gnu dot org>
- Date: Thu, 7 Feb 2002 10:00:00 +0000 (GMT)
- Subject: Re: darwin and java status
- References: <3C618B96.558A4382@pop.agri.ch><3C624DD1.368A3A48@pop.agri.ch>
Andreas Tobler writes:
>
> Andreas Tobler wrote:
>
> > One odd thing I see, I have to point the CLASSPATH to the libjava build
> > directory (the installation directory doesn't work), also the .class
> > file has to be there otherwise I get a Bus Error (from gij, the binary
> > can sit where it wants). This I don't understand. I can provide a
> > backtrace from gdb.
>
> After setting up the classpath as this (installation dir of gcc)
>
> setenv ${CLASSPATH}:/Volumes/reserved1/gcctmp/share
> setenv ${CLASSPATH}:/Volumes/reserved1/gcctmp/lib
> setenv ${CLASSPATH}:/Volumes/reserved1/gcctmp/bin
>
> I no more get Bus Errors and I can run the gij where I want with a
> .class file sitting somewhere.
>
> Did I miss a FAQ?
I take it that you have done a full "make install".
For some reason it seems that your libgcj is not finding the class
files it needs. I can't imagine why that is: I guess it's necessary
to debug in order to find out.
Andrew.