Invoke Java method Failed

Are you talking about Uipath.java.activities? If yes, it is already installed that’s why we are able to create work flow.

I’ve created a new JAR with simple program and it is working fine with return string value. In my previous program, i am importing a library so UiPath is not executing it. Any help.