After making your jar file, try to connect to your cluster via ssh. Here is a sample connecting to your cluster using WinSCP.
Transfer your jar file from your computer into your cluster. Now, you can run your jar file into your cluster.

Connect to you cluster via ssh. Here is a sample connecting to your cluster using putty.
Follow below commands to run your jar file. Specify second argument as topology class and third argument as topology name.