We have been working fine using JACOB to produce PDFs using a 32 bit JVM for many years without a problem, using Jacob.jar and Jacob.dll. We now need to upgrade to 64 bit JVM for various reasons. I have downloaded the latest Jacob.jar and dll for 64 bit and installed and added to the path, but when I run, I get:
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:160)
at com.jacob.activeX.ActiveXComponent.<init>(ActiveXComponent.java:54)
at ...
I am working with jre 1.8.0_131, the manifest for the Jacob.jar is:-
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.2
Created-By: 1.7.0_79-b15 (Oracle Corporation)
Built-By: joe
Name: com.jacob
Specification-Title: JACOB : Java COM Bridge
Specification-Vendor: http://jacob-project.sourceforge.net
Implementation-Title: JACOB : Java COM Bridge Java libraries
Implementation-Version: 1.18 build 01 on 05-August-2015 05:01:11
Trusted-Library: true
Application-Name: Java-Windows Bridge
Permissions: all-permissions
Codebase: *
and the Jacob dll is Jacob-1.18-x64.dll
Has anybody out there had success with JACOB with a 64 bit JVM. Specifically for producing PDFs? Any advice would be helpful as I have been battling this for some time! Other stack overflow threads that I read:- Can't co-create object
Many Thanks