com4j
com4j copied to clipboard
COM4j not compatible with windows 64 bit machine
I'm getting class not registered for com4j when i'm trying to access ALM from java using OTA connector. Its working fine with 32 bit machine. I've downloaded com4j from the below link which has dll for 64 bit machine. 1)http://kohsuke.org/2012/04/27/com4j-updates/ 2) https://github.com/kohsuke/com4j/downloads. still i'm getting the same error. Is com4j compatible with windows 64 bit?
Can anyone help me?
Hi, are you trying to use 64 bit java to connect to 32 bit native dll ? First I would play with bitness(32/64) of java and your native dll(com object), second would try to debug the whole stack java->com4j->you native dll to understand on what step is failing and google your error then
I've the same problem Exception in thread "main" com4j.ExecutionException: com4j.ComException: 80040154 CoCreateInstance failed : Clase no registrada : .\com4j.cpp:153 I can't run it in win64, for burocracy requirements I can't avoid java and windows64
I am also getting same error. I am using com4j to integrate with ALM
btw, did you see comment from kohsuke here https://java.net/jira/browse/COM4J-77?focusedCommentId=338656&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-338656
Was this ever resolved?
No, in my case, I had to change everything in my app, it was made in delphi, and call it via activex, a disgusting crap solution.
On Wed, Apr 11, 2018 at 11:44 AM, Jacob Beasley [email protected] wrote:
Was this ever resolved?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kohsuke/com4j/issues/50#issuecomment-380478480, or mute the thread https://github.com/notifications/unsubscribe-auth/ARa3SwsNXIIAG8lE13EjDyGCzOi_Udi-ks5tnhbngaJpZM4GQKf1 .
Yeah, in my case I just used the 32-bit JVM and it seems to work now.
It works sometimes...
If I register my dll with regsvr32 and pray to the gods, it works on some systems but not on others. We will be moving away from this because of inconsistencies and lack of support.
On Wed, Apr 11, 2018, 10:43 AM Jacob Beasley [email protected] wrote:
Yeah, in my case I just used the 32-bit JVM and it seems to work now.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kohsuke/com4j/issues/50#issuecomment-380537143, or mute the thread https://github.com/notifications/unsubscribe-auth/ARX7jjgeG34JHvM6sQuguc1pcx1F8_PPks5tnkDJgaJpZM4GQKf1 .