You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jean-frederic clere <jf...@fujitsu-siemens.com> on 2005/07/05 13:06:41 UTC
jni error
Hi,
I have the following error when compiling:
+++
src/file.c 502: [error]: CFE1136 struct "JNINativeInterface_" has no field
"GetDirectBufferAddress"
char *bytes = (char *)(*e)->GetDirectBufferAddress(e, buf);
^
+++
My java version is 1.3.1, why are we requiring a very new one?
Cheers
Jean-frederic
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
Re: jni error
Posted by Remy Maucherat <re...@apache.org>.
jean-frederic clere wrote:
> Hi,
>
> I have the following error when compiling:
> +++
> src/file.c 502: [error]: CFE1136 struct "JNINativeInterface_" has no
> field "GetDirectBufferAddress"
> char *bytes = (char *)(*e)->GetDirectBufferAddress(e, buf);
> ^
> +++
> My java version is 1.3.1, why are we requiring a very new one?
NIO is used a lot, so I think it will require JDK 1.4+.
I started some documentation, but it is not based on first hand
experience, so feel free to fix it.
Rémy
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
Re: jni error
Posted by Mladen Turk <mt...@apache.org>.
jean-frederic clere wrote:
> Hi,
>
> I have the following error when compiling:
> +++
> src/file.c 502: [error]: CFE1136 struct "JNINativeInterface_" has no
> field "GetDirectBufferAddress"
> char *bytes = (char *)(*e)->GetDirectBufferAddress(e, buf);
> ^
> +++
> My java version is 1.3.1, why are we requiring a very new one?
>
Yes, GetDirectBufferAddress is NIO feature of the 1.4
Regards,
Mladen.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org