python execute java -jar command code example Example: python run java jar import subprocess subprocess.call(['java', '-jar', 'jarfile.jar'])