Windows java SDK API. API ( LGPL ), , .
1 - (perl)
, , ProcessBuilder Runtime.exec PowerShell,
Get-ItemProperty HKLM: \ Software \ Microsoft \ Windows \ CurrentVersion \ Uninstall * | Select-Object DisplayName | where {$ _. DisplayName -match "perl"}
Replace "perl" with your choice of software and stream output from them and process it.
If PERL (for the above question), follow below 2 steps to set the path and run the perl script from java
Step 2 - if available, install it in the environment path using java code.
Step 3 - Run your perl script.
source
share