Java Program accessing Windows-DLL with JNI. Running in Netbeans but not with java.exe
posted 6 years ago
When I run the program in Netbeans, everything works perfectly.
However when I run it with java.exe then the program crashes.
The program can call the DLL-Methods but it crashes after a few calls
with a jvm error. The console displays a lot of information about the error,
however there are no java-exception or error. It seems the virtual machine
has a problem. Some kind of hex-dump is displayed?
Does Netbeans run a java program different then running it with java.exe?