This topic provides instructions on how to run Java™ in
a batch job and describes the Java file authorities required in the integrated
file system to display, run, or debug a Java program.
Java classes, packages, and directories
Each Java class is part of a package. The first statement
in a Java source
file indicates which class is in what package. If the source file does not
contain a package statement, the class is part of an unnamed default package.
Files in the integrated file system
The integrated file system stores Java-related class, source, ZIP,
and JAR files in a hierarchical file structure. IBM® Developer Kit for Java supports
using the threadsafe file systems in the integrated file system to store and
work with your Java-related class files, source files, ZIP files, and JAR
files.
Java file authorities in the integrated file system
To run or debug a Java program, the class file, JAR file,
or ZIP file needs to have read authority (*R). Any directories need read and
execute authorities (*RX).
Run Java in a batch job
Java programs run in a batch job by using the Submit
Job (SBMJOB) command. In this mode, the Java Qshell Command Entry display is not
available to handle the System.in, System.out, nor System.err streams.