To use class libraries created by IKVM, you will need to additionally attach the following libraries
- IKVM.OpenJDK.ClassLibrary.dll
- IKVM.Runtime.dll
- IKVM.Runtime.JNI.dll
Otherwise, you will encounter a strange issue where everything seems to go into an infinite loop. When debugging, the code will get 'stuck' when trying to call a class in the converted library.
When compiling your project, the compiler itself will not complain that the files IKVM.Runtime.dll and IKVM.Runtime.JNI.dll is missing and required. This stumped me for a few frustrating hours. Hopefully, it might save someone else's time.