Jniwrap64.dll Download

0 views
Skip to first unread message

Sandra Grady

unread,
Aug 3, 2024, 10:07:39 AM8/3/24
to tinlicasto

We've got a GWT web app that uses JNI to call a dll. We build the dll as well. It works fine on my developer machine, which is a 64-bit Windows 7 machine, running Java 6 and running the webapps in Tomcat 6. But when we run it on the tester's VM which is running 32-bit WinXP, it errors with

My JRE_HOME is set to a 32-bit version of Java 6, because I wanted the build to be able to work on a 32-bit machine, but clearly I'm mis-understanding something about how the 32 or 64-bit versions of java work in compiling the web app.

Added for clarification : jniwrap64.dll is not the dll that I've built, and my code is not explicitly loading this library. That's part of my confusion, is what is this library, why is it being loaded, etc. I have assumed that jniwrap64.dll is some kind of system library that needs to be installed. My code that loads our library is as follows:

That error message indicates that you were trying to run your Java
application with a 64-bit JVM, which apparently is installed on that new
computer as the default one, but 64-bit version of JNIWrapper library
(jniwrap64.dll) was not included to your application.To overcome this issue you just need to run it with a 32-bit JVM. In this
case your application will continue using 32-bit version of JNIWrapper
library (jniwrap.dll) and no upgrading will be required.Or, if you need to run it in 64-bit mode, then you need to include the
required 64-bit version of JNIWrapper library (jniwrap64.dll) to your
application. Plus you will also need an updated license for ComfyJ 64-bit
product, which you can order in our Sales (mailto:Sa...@teamdev.com) and
providing your previous license.Please let me know if you have another questions.Sincerely,
Serge

c80f0f1006
Reply all
Reply to author
Forward
0 new messages