undefined union _Jv_word in Class.h

Tom Tromey tromey@redhat.com
Fri Jan 11 15:43:00 GMT 2002


>>>>> "Hemant" == Hemant Mohan <hemantm@pune.tcs.co.in> writes:

Hemant> I am trying to compile a C/Java program on my RedHat 7.1.  I
Hemant> have gcc 3.0.3 installed alongwith java support.  I am getting
Hemant> a compilation error which points to the header file
Hemant> /usr/include/java/lang/Class.h.  The union _Jv_word is not
Hemant> defined in this header file.  Can anyone please help where can
Hemant> i get the patch for this.

Are you trying to compile a C program that uses JNI?
Do you have a small example of the problem you are encountering?
Can you show me the command line and the compiler error message?

Thanks,
Tom



More information about the Java-patches mailing list