12-13-2020, 05:12 AM
Hi!
It works with the built-in window too, but I've posted the screenshot of the "TestPanel" because it has more integration with Java itself.
The headers for jni are the same for 32 and 64 bit, so the value of %JAVA_HOME% environment doesn't matter when building the TilengineJNI.dll library.
Make sure your C compiler is producing 32-bit binary, not 64-bit.
However, I don't know how to choose what JRE to run when typing "java" at the command prompt when you have both. To avoid problems I uninstalled the 64-bit one and replaced it with 32, so I don't have to choose.
It works with the built-in window too, but I've posted the screenshot of the "TestPanel" because it has more integration with Java itself.
The headers for jni are the same for 32 and 64 bit, so the value of %JAVA_HOME% environment doesn't matter when building the TilengineJNI.dll library.
Make sure your C compiler is producing 32-bit binary, not 64-bit.
However, I don't know how to choose what JRE to run when typing "java" at the command prompt when you have both. To avoid problems I uninstalled the 64-bit one and replaced it with 32, so I don't have to choose.