Starts an application by executing the static main method of a Java class
- className (
string) - The fully-qualified name of the class with a static main method to execute. For example,
- 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.
cheerpjRunMain returns a Promise which resolves with the exit code of the program.
0 indicates success, any other value indicates failure.