run a java program using python

Gerhard Häring gh at ghaering.de
Wed Jun 18 11:12:36 CEST 2003


Jason Ng wrote:
> can anyone please provide code in python to launch/run a java program using python.

import os
os.system("java com.bigenterprise.bloated.java.app")

where com.bigenterprise.bloated.java.app is the Java main class.

-- Gerhard







More information about the Python-list mailing list