Hi Team,
We are looking for possibility to run a java program as tool from OBM event perspective page.
OBM v2022.05
Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
Hi Team,
We are looking for possibility to run a java program as tool from OBM event perspective page.
OBM v2022.05
sure. you can use the JRE shipped with OBM under /opt/HP/BSM/JRE/bin/java
Yes, as Asaf mentions you can call your java directly, e.g.
/path/to/my/JRE/bin/java -cp...
If there is an output expected (e.g. X), then you will need to setup DISPLAY and ensure firewalls are configured correctly. Obvs. if it's just a command line tool this does not matter.
Finally, don't forget that it may be easier to call a script to start the tool which has been deployed via instrumentation.