I need to update a dll file which is used in a java application. When I try try to generate the exe file from the source code for the dll (C code) it gives me Linking errors.
The errors suggest the dll needs a library file javai.lib (this is a part of the make file). This file though has been renamed since jdk1.2. (info courtesy Google, sun.com). Knowing the source code is very old, I added the files jvm.dll and jvm.lib to the build path. These are the renamed files.
The problem is that the linking errors still do not go away. Injre 1.1 I could find only javai.dll not javai.lib. And the errors persist even with the javai.dll file...
I searched a lot but could not find the lib file. Read at one place that "javai.lib is used at compile time while javai.dll is called by the jre at runtime..". Then how come, jre 1.1 has only the .dll file..
Any help is most welcome.. If i'm adding wrong files.. Or any pointers where i can find the javai.lib.
Many Thanks in advance.. and for reading this loong post..
Yes, the dll is a native methods exe.A function in this dll is called to invoke a on a Server via TCP/IP socket. This function actually passes the name of the Java class containing the main method to execute on server and the argument which should be passed to this method. It then returns the results to the caller.
H. J. Yoshi
Joined: Jul 21, 2006
Oh, I missed out, I am trying to build the exe now, because I want to add one more function to it.