Andi Vajda <va...@apache.org> wrote:

> 
> On Jul 1, 2010, at 18:43, Bill Janssen <jans...@parc.com> wrote:
> 
> > Andi Vajda <va...@apache.org> wrote:
> >
> >> This error indicates that the C++ compiler thinks that jboolean and
> >> jbyte are the same types. Could it be that you're picking up gcj
> >> header files instead of the correct JDK ones as this tends to happen
> >> on redhat ?
> >> What is the first jni.h file in your header include path (including
> >> the implicit locations like /usr/include, etc...) ?
> >
> > Looks like it's /usr/lib/gcc/i386-redhat-linux/4.3.0/include/jni.h,
> > which as you say would be the gcj file.  So what's the fix for RedHat?
> 
> Uninstall the gcj packages ?

Actually, I tried that:  sudo yum remove gcc-java.  It got removed, but the
header files remained.

> Ask redhat ?

:-).

Bill

Reply via email to