This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Class or interface `sun.io.CharToByteConverter' not found
- To: tromey at redhat dot com
- Subject: Re: Class or interface `sun.io.CharToByteConverter' not found
- From: Brad Cox <bcox at virtualschool dot edu>
- Date: Mon, 5 Nov 2001 19:30:52 -0500
- Cc: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>,java at gcc dot gnu dot org
I might have (this was months ago; don't recall) copied the executable to
/usr/local/bin by hand after building gcj, which might have caused this if
I understand Bryce's message right.
Thanks for the help; its working fine now.
On Monday, November 5, 2001, at 07:15 PM, Tom Tromey wrote:
>>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
>
> Bryce> IIRC, GCJ used to have a problem where if you moved the gcc
> Bryce> tree somewhere else after installation, it couldn't find
> Bryce> libgcj.jar because it was using a compiled in path, rather than
> Bryce> a location relative to where the compiler itself is running
> Bryce> from. Did we ever fix that?
>
> Yeah.
>
> This code doesn't work in Brad's case because he is invoking
> `/usr/local/bin/gcj' but the file is in `/usr/local/gcc3.1/share'.
> If he invoked /usr/local/gcc3.1/bin/gcj, I think it would work,
> regardless of whether the tree was moved.
>
> The actual code is in gcc/java/jcf-path.c:jcf_path_init()
>
> Tom
>