cheerpjRunMain
Starts an application by executing the static main method of a Java class
Parameters
- className (
string
) - The fully-qualified name of the class with a static main method to execute. For example,com.application.MyClassName
. - classPath (
string
) - The location of the class’s jar in the virtual filesystem, with its dependencies separated by:
. - ..args (
string[]
, optional) - Arguments to pass to the main method.
Returns
cheerpjRunMain
returns a Promise which resolves with the exit code of the program. 0
indicates success, any other value indicates failure.