How to run a java program in uipath

Hi i have a java program in my machine.
i just want to tun my java program in uipath by using java activities.
can any one share the steps which i follow to run my java program.

Hi
We can use
Invoke java method activity
Kindly have a view on this’s

Cheers @sunilraju

Thans for your quick response.
can you please share any screen shots with detailed steps. If possible

my javascope activity got failed due to thes error " The path to java library is invalid.
Parameter name: JavaLibraryPath "
any suggesstions.