I developed a Java desktop application and I create my Installer according to the documents. My Java Product is running smoothly. But when I try to use Jacob Com library method, application crashes and it gives me "A fatal error has been detected by the Java Runtime Environment:" titled error log. I must note that ; there is no problem when I run my Java app from .jar file using "java -jar MyJarFile.jar" command and use that method. And I tried other jar to exe tools ; there is no error. Why .exe file which is created by Advanced Installer gives such a problem ?
Some details:
- Jacob COM library does not need any special registration. Dll files needs to be on System32 (For 64 bit OS SysWOW64) , that is all.
- When applicaton run from exe file , most if the time it crashes when I try to use Jacob COM library methods but sometimes it does not. Crash occurs more often.
Regards.