This project develops a library that lets you control Windows processes better, beyond what's available in JDK.
Features summary:
- Windows machine management (logoff user, shutdown/restart machine)
- Thread priority management
- Process termination (including the recursive termination)
- Process info acquisition
- etc.
See the library's Javadoc for more details.
Starting with 1.29, this library is published at:
<repository>
<id>repo.jenkins-ci.org</id>
<url>https://repo.jenkins-ci.org/releases/</url>
</repository>
Starting with 1.29, this library requires Java 11 or newer.
WinP Library includes native libraries for all supported platforms, hence it can run on both 32bit and 64bit Java versions without any additional configuration.
The library supports x86 and amd64 architectures. ARM architecture is not supported. Please raise an issue to the library if you need ARM support && ready to provide proper test environment.
❗ It is not recommended to use WinP with 32bit Java on a 64bit operating system. In such case the library will be running in the WoW64 mode; and it will be unable to properly work with 64bit processes in the system. E.g. any process information query call (e.g. Environment variables retrieval) may fail if you run it against 64bit process.
The current version of WinP is known to work correctly on the following Windows versions:
- Windows XP SP2 and above
- Windows Server 2003 and above
Other Windows product lines are not being actively tested though WinP may work there.
❗ Minimal required Windows version is a subject to change in next releases of WinP.