My environment is Java 7, on Windows 7 - 64 bit. So here's my requirement and procedures I followed
test.dll from JavaPATH.test.dll using regsvr32.exe under C:\Windows\SysWOW64 (it was successful!)WEB-INF/lib has jacob.jar in it.-Djava.library.path=c:/dev/jacob/jacob-1.17-x64.dll (This is where I have kept the jacob-1.17-x64.dll)still I am facing
com.jacob.com.ComFailException: Can't co-create object
at com.jacob.com.Dispatch.createInstanceNative(Native Method)
at com.jacob.com.Dispatch.<init>(Dispatch.java:99)
I have gone through many of the SO posts but none of them have helped me so far
can anyone please guide me to the solution?
A similar problem for me was solved by changing the jdk from a 64-bit to 32-bit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With