Questions tagged [jacob]

JACOB is a JAVA-COM Bridge that allows you to call COM Automation components from Java.

JACOB is a JAVA-COM Bridge that allows you to call COM Automation components from Java. It uses JNI to make native calls to the COM libraries. JACOB runs on x86 and x64 environments supporting 32 bit and 64 bit JVMs.

https://sourceforge.net/projects/jacob-project/

206 questions
4
votes
1 answer

Use external dll library in Jenkins plugin

To use an external com object I have to include the Jacob jar and dll library into my Jenkins plugin. I found the jacob_excel_reader plugin which use Jacob, but the solution doesn't satisfy me. The developer added the jar dependency to the pom.xml…
Sascha Vetter
  • 2,466
  • 1
  • 19
  • 36
4
votes
0 answers

JACOB java lib, running ActiveX object get error Catastrophic failure when calling function

I'm trying to use an ActiveX COM object library ocx to control a camera in java. I've try to use JACOB lib to call the lib but I got the following error calling any function or even a put: run: The Library been loaded, and an activeX component been…
william pagnon
  • 335
  • 3
  • 16
4
votes
1 answer

Jacob connect to Remote Computer for WMI support

I'm trying to connect to a remote computer using java and Jacob in order to get some WMI Information about the remote computer. For localhost I'm using the code below and it works fine. String host = "localhost"; String connectStr =…
Marcx
  • 6,806
  • 5
  • 46
  • 69
4
votes
1 answer

Open a workbook without the Auto_Openening

How i can open a workbook without the Auto_Open running using Jacob ??
khaled Rihane
  • 607
  • 2
  • 7
  • 19
4
votes
1 answer

Passing an Enum To a COM Library method using Jacob

I instantiate a COM Object, then invoke a method. ActiveXComponent comp = new ActiveXComponent("MyDll.MyClass"); String argument1 = "test1"; String argument2 = "test2"; Variant[] arguments = { new Variant(argument1), new Variant(argument2)…
Jonas Eicher
  • 1,413
  • 12
  • 18
3
votes
3 answers

JACOB doesn't release the objects properly

I have an eclipse plugin, which connects to a COM component using Jacob. But after I close the plugin entirely, the .exe file stays hanging in Windows processes. I use ComThread.InitMTA(true) for initialization and make sure that SafeRelease() is…
Gorro
  • 95
  • 3
  • 9
3
votes
3 answers

Can't co-create object

i made a dll in .net and call that from java program using jacob.since yesterday i have windows 7 32 bit os so program run successfully.now i formated and install windows 7 64 bit os.so following error encounter: com.jacob.com.ComFailException:…
tm1
  • 97
  • 1
  • 3
  • 14
3
votes
1 answer

jacob.dll already loadedin another classloader

I am implmented a webservice in java and webservice client also in java. both the webservice ane webservice client are in different project and i am created dll using jacob. My Webservice and webservice client is on same computer.now whenever i am…
tm1
  • 97
  • 1
  • 3
  • 14
3
votes
1 answer

How to control Windows Media Player remotely using Java?

this is the first time I´m posting something here. I´m working on a Project where I want to control the Windows Media Player through different Input Modalities (like Multitouch, a 3D Mouse...). At the moment I´m trying to find a way to control the…
Adele
  • 39
  • 1
  • 4
3
votes
2 answers

Extending HP Quality Center using Groovy and Jacob

I am trying to interface with HP Quality Center using Groovy with a Jacob COM wrapper, but I am running into problems. When I try to run the following code: import com.jacob.activeX.ActiveXComponent import com.jacob.com.* def QCUrl =…
Josh Ripley
  • 239
  • 1
  • 5
  • 17
3
votes
1 answer

Read windows registry info from remote system using Jacob

Im trying to run some WMI queries using JACOB, and so far i've been successfull in getting the services and processes however i need to query the registry to see if a certain key is there i've stummbled across this link but i dont understand how to…
naoru
  • 2,149
  • 5
  • 34
  • 58
3
votes
1 answer

Getting a 32-bit COM client to talk to a out-of-proc 64-bit server using Java/JaCoB

This question indicates that it is possible for a 32-bit COM client to talk to a 64-bit COM server (and vice-versa), provided the server is out-of-process. I'm trying to implement a client using the Java Com Bridge (JaCoB) library to talk to a…
Kevin K
  • 9,344
  • 3
  • 37
  • 62
3
votes
3 answers

Call macro from Java using Jacob 1.18

I have a macro defined in an Excel file and I want invoke it from a Java program using Jacob 1.18 jar and dll. The following is the code segment I am currently using. import java.io.File; import com.jacob.activeX.ActiveXComponent; import…
3
votes
2 answers

Alternative for java applet which needs to communicate with browser via javascript

In our web application, we using a Java applet to invoke MS.Word application by jacob jar e.g. Word to open, edit, and when it saves automatically it uploaded to the server. Google Chrome will no longer support NPAPI, so soon we can not run our…
kapil
  • 31
  • 3
3
votes
2 answers

jacob - Can't co-create object

My environment is Java 7, on Windows 7 - 64 bit. So here's my requirement and procedures I followed I wanted to execute a library called test.dll from Java I first downloaded the latest version of jacob, and put them within a folder, which is…
sanbhat
  • 17,522
  • 6
  • 48
  • 64
1
2
3
13 14