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


>>>>> "Brad" == Brad Cox <bcox@virtualschool.edu> writes:

Brad> Nope; I avoid CLASSPATH like the plague

Ok, great.

Brad> Managed to make some progress like this
Brad> %.o: %.java
Brad> 		@echo Compling $<
Brad>          @/usr/local/bin/gcj -c -O2 -o $@ \
Brad> 		-I/usr/local/gcc.3.1/share/libgcj.jar \
Brad> 		-I/mybank/WEB-INF/lib/servlet.jar $<

Brad> But I could have sworn libgcj was supposed to be included
Brad> automatically.

It is.

With a relatively recent gcj 3.1, you can use `gcj -v' to see the
search path.  Try it without the `-I...libgcj.jar' to see what is
built in to gcj.  Maybe this will give us a clue as to what is going
on.

The next suspect after CLASSPATH is a local install problem.

Tom


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