Questions tagged [j-interop]

j-Interop is a Java Open Source library (under LGPL) that implements the DCOM wire protocol (MSRPC) to enable development of Pure, Bi-Directional, Non-Native Java applications which can interoperate with any COM component.

24 questions
1
vote
0 answers

Must close firewall when i access wmi via j-interop

If i want to access wmi via j-interop, i must close the firewall, otherwise i will get a "The RPC server is unavailable." error. The remote machine's os is windows server 2008, i don't want to close its firewall, is there any way to solve the…
RichardTao
  • 23
  • 5
1
vote
1 answer

j-interop using local credentials

I'm attempting to utilize this WMI sample from the J-interop package. The issue I'm facing is that the system I'm running this against is not a part of the domain. I looked at the Javadoc for j-interop and it says in…
jtro
  • 130
  • 1
  • 10
1
vote
1 answer

j-interop does not work to monitor Win7 via WMI

I used j-interop to monitor Windows system via WMI in Java. It does work for monitoring remote WinXP from both Windows and Linux client. But it does not work to remotely monitor Windows7 from both Windows and Linux client. I also checked with…
Simon Wang
  • 2,235
  • 7
  • 36
  • 48
0
votes
0 answers

Gradle unzip api dependency to final jar with exclusion

I tried to migrate from local jar dependencies to repository-oriented. Now it looks like: api(files("thirdparty/j-interop-2.0.4.jar")) The desired result is: api("org.jinterop", "j-interop", "2.0.4") The problem is final jar should contain…
devaskim
  • 492
  • 3
  • 10
0
votes
1 answer

Wrapping jar into a dll

I want to make a COM server packaged in a DLL for use from VBA-Excel. The functionality will be provided by Java classes packaged in a jar. How do I do this?
Roland
  • 7,525
  • 13
  • 61
  • 124
0
votes
2 answers

UTGARD opc client: Read multiple items repeatedly

I have written the following code using the Utgard OPC library. I need to read data from an OPC server once every 15 seconds. However, I'm not sure if this is the most optimal way to implement it. In my scenario I require to read upward of 300 tags…
Arun Jose
  • 365
  • 4
  • 16
0
votes
1 answer

How to register for WMI events using Java

I am integrating window based application with java application and want to capture window events in java. I found in google J-Interop is the library thorugh this can be achived. i did some POC wih below code but facing issue while locating the…
ArmStrong
  • 47
  • 9
0
votes
0 answers

Example of j-Interop Call to RTD or DDE Service

I'm looking to integrate quotes from the ThinkorSwim client provided by an RTD or DDE call. The format of the calls if done from excel seems trivial enough: =RTD("Tos.RTD", , "DELTA",…
skimbleton
  • 239
  • 1
  • 2
  • 11
0
votes
1 answer

How to write binary file in remote machine using j-interop?

I am using J-interop and java to interact with window remote machine, I am able to connect to the remote window machine using j-interop but do not know how to write binary files to window remote machine. If any one have sample code to do that it…
user2335004
  • 121
  • 1
  • 10
1
2