Hoe to integrate Java code in UiPath

You can refer to the following link

https://docs.uipath.com/activities/docs/invoke-java-method