I'm using JNI as mean to connect my java code and C code.
The code compiles fine and the screen GUI application opens and then closes which means that there is nothing wrong with that part of the code which is pure C.
However when I run the program the output console immediately tells me:
Error occurred during initialization of VM
Unable to load native library: Can't find dependent libraries
and returns 1
as error code. I got the jvm.dll in the same folder of the exe and I think JDK PATH is correctly set up. I have no clue for what the problem may be.
I searched for the error but couldn't fix it.