Skip to content

skyghis/j-interop-ng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

J-Interop-ng

⚠️ Recent Windows update break the WMI Query capability of this library.
I will no longer actively maintain this library.

ℹ️ I found the great Python 3 library cesbit/aiowmi as replacement.
I don't have the time or level to convert Python3 code to Java, but I can help if needed.

Implementation of DCOM wire protocol (MSRPC) to enable development of Pure Bi-Directional, Non-Native Java applications which can interoperate with any COM component. The implementation is itself purely in Java and does not use JNI to provide COM access.

This is a cleaned-up and improved version of the j-Interop library. Based on j-interop and kohsuke work, and modified to use jcifs-ng.

Notes

The goal is to support SMB2 authentication method and new version of Windows.

I only use this library to perform WMI call. Best effort is done to keep other functionalities alive.

Old deprecated documentation have been transformed to Markdown and exist at j-interop/README.md

Requirements and dependencies

  • Java Standard Edition Runtime Environment (JRE) version 7 or up.
  • External dependency to jcifs-ng.
  • All others dependencies are compiled and linked from project j-interopdeps-ng

Quick start

Add this dependency to your project's POM (or equivalent for non-Maven users):

<dependency>
    <groupId>com.github.skyghis</groupId>
    <artifactId>j-interop-ng</artifactId>
    <version>{version}</version>
</dependency>

TODO: Simple use case.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GNU LGPLv3