The reason I'm using Java is I learning it at school so it's the language I know the best.
But I shouldn't have too much trouble to move to C# and Python in the future.
By the way, is the problem with Oracle still here?
However I finally downloaded the 32-bit version from AdoptOpenJDK, that is the version I already had in 64-bit. Oracle even forces you to register an account just to say that they're experiencing problems when trying to download. Bad!
Hi,
After installing 32-bit version of OpenJDK 8 and building 32-bit TilengineJNI.dll, everything works as expected. Here is a screenshot of TestPanel:
Does it work with the normal window? I also have multiples versions of Java, 2 for Java 8 : 32 and 64 bits. The problem is %JAVA_HOME% brings me to a 64-bits version. Is that the thing that causes the problem? can I compile a 32-bits JNITilengine with 64-bits JNI headers?
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.