CL Command Reference - DSPJVAPGM

CL Command List > DSPJVAPGM Reference

Description:

The Display Java Program (DSPJVAPGM) command displays information about the Java program associated with a Java class file.

If no Java program is associated with the class file specified, escape message JVAB540 is sent.

Restriction: The class file must be in one of the following file systems: QOpenSys,¡åroot¡å, or a user-defined file system.


Examples:

DSPJVAPGM CLSF(¡¯/projectA/myJavaclassname.class¡¯) OUTPUT(*)

This command will display information for the Java program associated with the class file myJavaclassname. The Java program information will be output to the display.