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
>>>>> "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