This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


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

Re: Class or interface `sun.io.CharToByteConverter' not found


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
>


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