I have a third party .NET Assembly and a large Java application. I need to call mothods provided by the .NET class library from the Java application. The assembly is not COM
OK, the mystery is solved.
The JVM crash is caused by unhandled System.IO.FileNotFoundException. The exception is thrown because the .NET assembly is searched in the folder where the calling exe file resides.
It seems my only option is to install the .NET assembly in GAC (the third-party dll does have a strong name).