Example: Calling Java from ILE C
This is an example of an integrated language environment (ILE) C program that uses the system() function to call the Java™ Hello program.
Note: By using the code examples, you agree to the terms
of the Code license and disclaimer information.
#include <stdlib.h>
int main(void)
{
int result;
/* The system function passes the given string
* to the CL command processor for processing.
*/
result = system("JAVA CLASS('QIBMHello')");
}