Program as a texture?

Hello,

I have been scrolling around trying to find an answer to this but is there anyway to run a jar file instead of a game in UE4 and have its output mapped to a solid wall?

Thank you for your time.