Hi All
can anybody give me some pointer or info related to my problem..
I am facing many issues related to building tomcat-connectors-4.0.6 on FC4 . After solving few problems i have reached a point where its searching for one struct i.e. JDK1_1InitArgs. and after searching more i have come to know that definition of this struct is now removed from source i.e jni.h file So do we have fix for this. or i am missing something.
some or any help welcome. Crisppy f.
On Fri, 2005-07-29 at 18:04 +0530, crisppy fernandes wrote:
I am facing many issues related to building tomcat-connectors-4.0.6 on FC4 . After solving few problems i have reached a point where its searching for one struct i.e. JDK1_1InitArgs. and after searching more i have come to know that definition of this struct is now removed from source i.e jni.h file So do we have fix for this. or i am missing something.
I don't think gcj ever supported JDK1_1InitArgs.
If this... http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5031222 ...is to be believed, Sun's 1.5 JDK ignores it and it will likely disappear from future JDK releases.
Can you modify your code to not use it?
AG
I don't think gcj ever supported JDK1_1InitArgs.
But on FC2 we have compiled the same source and it worked.
If this... http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5031222 ...is to be believed, Sun's 1.5 JDK ignores it and it will likely disappear from future JDK releases
we get this required struct definition for "JDK1_1InitArgs" in jni.h file through some os rpm, but on FC4 in the same file that structure definition is missing.
Can you modify your code to not use it?
AG
I can modify my tomcat-connector source but how i can modify jni.h file on system. which is system defined. There must be some work around this...
Thanxs for reply Crisppy f.
On Fri, 2005-07-29 at 20:01 +0530, crisppy fernandes wrote:
I don't think gcj ever supported JDK1_1InitArgs.
But on FC2 we have compiled the same source and it worked.
You probably had some other JDK installed.
Can you modify your code to not use it?
I can modify my tomcat-connector source but how i can modify jni.h file on system. which is system defined.
Starting with 1.2 the initialization structure for JNI is defined differently. 1.2 is quite old, I recommend changing your source to use this approach.
Still, if you want to update libgcj to understand JDK1_1InitArgs, you can. You'll need to modify the jni.h that is in the libgcj source tree, and also libjava/jni.cc to understand the new argument structure.
Tom
java-devel@lists.fedoraproject.org